This is the mail archive of the java-patches@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: Patch: RFA for 4.0: use system class loader


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/


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