Question: System.initializeSystemClass()

Martin Buchholz martinrb at google.com
Sun Jan 11 14:15:27 PST 2009


On Sun, Jan 11, 2009 at 14:12, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:
> So it's another mystery, why loadLibrary("zip") in
>  java.lang.System.initializeSystemClass() doesn't thow an exception on
> Linux, as it is named "libzip.so".

The actual behavior of loadLibrary is system dependent.
On Linux, loadLibrary("foo") will look for a disk file named "libfoo.so".
This could be better documented.

Martin

>
> -Ulf
>
>



More information about the hotspot-dev mailing list