Message743

Author dlr
Recipients
Date 2002-09-25.20:16:11
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
According to the JVM, Install.java (?) is compiled to
the class named jython-21.  The Java Language
Specification (JLS) explicitly forbids dashes in class
names.  See the description of "Java letter" characters
in section 3.8 of the JLS:

 
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#40625

Using Sun's JDK 1.3.1_01 FCS, Jakarta Ant's <java> task
pukes on a java.lang.ClassFormatError when trying to
invoke the Jython 2.1 installer with the following message:

  Illegal Class name "jython-21"

Note that using <exec> with the java binary seems to
work around this most of the time, but also
intermittently produces hung builds.

I'd be happy to submit a patch correcting this behavior
if you can point me to the installer in CVS HEAD.  I
grepped today's source tree, but didn't find where the
installer .class file was built.  Perhaps its done via
liftoff?
History
Date User Action Args
2008-02-20 17:17:10adminlinkissue614605 messages
2008-02-20 17:17:10admincreate