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
Mark Wielaard wrote:
In your Makefile you set CLASSPATH to the empty string and we dutifully
use an empty class path in the system classloader.
Ah, yes.
Do you think we should handle the case were CLASSPATH is set to the
empty string in this way?
Yes. Two reasons:
(1) Sun does it:
$ CLASSPATH=xxx java kawa.repl
Exception in thread "main" java.lang.NoClassDefFoundError: kawa/repl
$ CLASSPATH='' java kawa.repl
#|kawa:1|#
$ type java
java is hashed (/opt/jdk1.4/bin/java)
(2) Lots of shell scripts and some old shells don't clearly distinguish
between an unset variable and an empty variable.
Next to try out Kawa with XML and/or JEmacs/Swing ...
--
--Per Bothner
per@bothner.com http://per.bothner.com/