This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: java library installation issues


>> The `L.so' in this case should probably follow the naming scheme we
>> adopted for the `.so' files that Class.forName will automatically try
>> to load.  That will make it so that the linker and Class.forName will
>> agree -- it won't matter to the end program whether a class is loaded
>> at runtime or at link time.

Per> Do you have a write-up of this?

Nothing formal :-(.

Here is the comment in natClassLoader.cc:

      // Turn `gnu.pkg.quux' into `gnu-pkg-quux'.  Then search for a
      // module named (eg, on Linux) `gnu-pkg-quux.so', followed by
      // `gnu-pkg.so' and `gnu.so'.  If loading one of these causes
      // the class to appear in the cache, then use it.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]