DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6788>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6788 javac target attribute under suns jdk1.4 Summary: javac target attribute under suns jdk1.4 Product: Ant Version: 1.4.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Task: javac Attribute: target The use of the target attribute with a value of "1.1" does not seem to be working. System info: ======= src 462 :java -version java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) src>ant -version Ant version 1.4 compiled on September 3 2001 ======= If I do a straightforward javac with the "-target 1.1" parameter the generated bytecode works fine under a 1.1 JRE. However if I do a corresponding task in ant the generated bytecode does not work under a 1.1 JRE. The same attribute works fine with the 1.3 jdk compiler, so maybe something has chenged in the java interface to the compiler between 1.3 and 1.4? In any case, it means I am cannot use ant1.4.1 with jdk1.4 which I would like to do. Regards, Neil -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
