Re: svn commit: r743910 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/Javac.java

2009-02-18 Thread Stefan Bodewig
On 2009-02-18, Jesse Glick jesse.gl...@sun.com wrote:

 Stefan Bodewig wrote:
 this should be the equivalent of compiling a
 package-info.java containing only SOURCE annotations using JDK 5.

 Do you know whether a Java 1.4 VM will even try to load the class
 file under any circumstances (other than some explicit reflection
 invocations)?

 You cannot use package-info.java with JDK 1.4 to begin with.

I know that.  I was wondering whether there might be a situation where
JDK 1.4 would try to load the class file even though it shouldn't.

Stefan

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



Re: svn commit: r743910 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/Javac.java

2009-02-18 Thread Peter Reilly
Perhaps we should check the target attribute - but this is very much
an edge case.

Peter


On Wed, Feb 18, 2009 at 4:32 PM, Stefan Bodewig bode...@apache.org wrote:
 On 2009-02-18, Jesse Glick jesse.gl...@sun.com wrote:

 Stefan Bodewig wrote:
 this should be the equivalent of compiling a
 package-info.java containing only SOURCE annotations using JDK 5.

 Do you know whether a Java 1.4 VM will even try to load the class
 file under any circumstances (other than some explicit reflection
 invocations)?

 You cannot use package-info.java with JDK 1.4 to begin with.

 I know that.  I was wondering whether there might be a situation where
 JDK 1.4 would try to load the class file even though it shouldn't.

 Stefan

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



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