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]
Other format: [Raw text]

Re: confusion when CLASSPATH includes compiled class


Per Bothner writes:
 > Is this a known issue?
 > 
 > If I run a gcj-compiled application that has class Foo.java/Foo.class
 > compiled and linked into the executation, with a CLASSPATH that
 > includes Foo.class then things get really confused.
 > A Class.forName("Foo") will load the class in the CLASSPATH.
 > On the other hand other native code will reference the native-class.

This is one of the things the new ABI will fix, for sure.  However, I
thought Class.forName("Foo") should find the compiled class if it's in
the executable.

Andrew.


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