This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: RFA for 4.0: use system class loader
- From: Per Bothner <per at bothner dot com>
- To: tromey at redhat dot com
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>, Mark Mitchell <mitchell at codesourcery dot com>
- Date: Thu, 14 Apr 2005 15:30:09 -0700
- Subject: Re: Patch: RFA for 4.0: use system class loader
- References: <m3r7hde69e.fsf@localhost.localdomain>
Tom Tromey wrote:
This patch addresses the problem Per is seeing with Kawa.
Not really ...
Finally, I tested it against kawa, which is where the problem was
discovered.
It now gets further. Doing a 'make check':
../bin/kawa-bin -C ./module1.scm
(compiling ./module1.scm)
../bin/kawa-bin -C ./module1a.scm
(compiling ./module1a.scm)
../bin/kawa-bin -C ./module2.scm
(compiling ./module2.scm)
CLASSPATH=..:. gcj -C -g -d . MyDate.java MyTimestamp.java
../bin/kawa-bin -C ./module3.scm
(compiling ./module3.scm)
../bin/kawa-bin -C ./classes1.scm
(compiling ./classes1.scm)
CLASSPATH=..:. gcj -C -g ./SimpleB.java -d .
CLASSPATH=$CLASSPATH \
../bin/kawa-bin -C ./classes2.scm
(compiling ./classes2.scm)
Internal error while compiling ./classes2.scm
java.lang.RuntimeException: no such class: classes1
at gnu.bytecode.ObjectType.getReflectClass()
(/tmp/unmodified/bin/.libs/libkawa.so.0.0.0)\
...
It fails in:
reflectClass = Class.forName(getInternalName().replace('/', '.'),
false, getClass().getClassLoader());
--
--Per Bothner
per@bothner.com http://per.bothner.com/