Class Data Sharing fails when more than one jar file is contained
in jre/lib/endorsed. The error message is:
# ./java -client -Xshare:dump
Loading classes to share ... done.
Rewriting and unlinking classes ... done.
Calculating hash values for String objects .. done.
Calculating fingerprints ... done.
Removing unshareable information ... done.
Moving most read-only objects to shared space at 0xd4400000 ... done.
Moving common symbols to shared space at 0xd473b870 ... done.
Moving remaining symbols to shared space at 0xd4853f10 ... done.
Moving string char arrays to shared space at 0xd48549a0 ... done.
Moving additional symbols to shared space at 0xd48d0b70 ... done.
Read-only space ends at 0xd4923678, 5387896 bytes.
Moving read-write objects to shared space at 0xd4c00000 ... done.
Moving String objects to shared space at 0xd5124f70 ... done.
Read-write space ends at 0xd5160ac0, 5638848 bytes.
Updating references to shared objects ... done.
An error has occured while processing the shared archive file.
Too many jar files to share.
Error occurred during initialization of VM
Unable to use shared archive.