ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31855] - 1.6.2 cannot run javac with jdk1.2.2
Date Mon, 25 Oct 2004 14:59:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31855>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31855

1.6.2 cannot run javac with jdk1.2.2





------- Additional Comments From gudnabrsam@yahoo.com  2004-10-25 14:59 -------
Okay, since obviously I couldn't run that build snippet or anything, I took it 
upon myself to create this simple, self-contained example:
<project>
  <echo file="Test.java">public class Test {public int a = 0;}</echo>
  <javac srcdir="${basedir}" includes="Test.java" />
</project>

and I do get a slew of silly-looking junk, "non-fatal" blah blah blah.  However 
the classfile is created.  Can you run the above successfully?  All I am 
getting is this JIT error, which is annoying but incidentally can be suppressed 
along with the JIT itself.  This can be done by adding -Djava.compiler=NONE to 
the value of your ANT_OPTS environment variable.  Since this is an error in the 
JIT compiler for Java 1.2 (ON WINDOWS >:P ) I don't know how much we will be 
able to do to encourage proper behavior.  As for my earlier comment on testing 
to ensure compatibility, I personally ordinarily test Java 1.2 on Solaris only, 
to be assured of Java compatibility.  When Windows decides to act goofy 
boundaries begin to fuzz.  But if it makes you feel any better, I recall my 
coworkers having trouble running pre-1.6.0 CVS versions of Ant with Java 1.2 on 
Windows a year ago.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message