[Kaffe] ease of use patch.

Moses DeJong dejong at cs.umn.edu
Wed Feb 24 16:24:11 PST 1999


On 24 Feb 1999, Alexandre Oliva wrote:

> On Feb 24, 1999, Moses DeJong <dejong at cs.umn.edu> wrote:
> 
> > It is not legal to have a class named java.
> 
> You sure?  It might be just a bug in JDK's handling of conflicts
> between classnames and package names.  And then, even if javac can't
> compile it, the JVM might accept such a class name.

Well, there are a number of class names that are allowed by the
JVM that you can not type into the command line (does your shell
do full unicode?). I am not saying we should change the JVM so
that this name is not allowed, but I do think it would help to
put the extra check on the command line input. I also posted
a note about this on the jikes java compiler list over at IBM
and they are going to send a query over to the Sun about this
class named "java" issue. I will post the results when I get them.

later
Mo DeJong
dejong at cs.umn.edu



More information about the kaffe mailing list