bootclassloader problem (gcc 4.0 regression)
Per Bothner
per@bothner.com
Wed Apr 13 16:43:00 GMT 2005
Mark Wielaard wrote:
> This makes some
> of the original hacks for class loading with old native gcj designed
> programs more difficult/wrong.
But I'm not using any hacks for gcj. This code is exactly the same for
JDK 1.2+ and GCJ. Only the Makefile is different, in that it builds a
Kawa executable - i.e. a shared library. There is also a script to
compile Kawa applications to executables.
Now I can certainly change Kawa's makefiles to match the currently
approved and supported manner of creating native-compiled executables.
But what is that way? The problem is that compiled Java code needs
to be able to do Class.forName(NAME) and search the classpath. What
is the approved way to do this? If GCJ doesn't support this, then
I'm confused - I'd except lots of Java code to break.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Java
mailing list