ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r743910 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/Javac.java
Date Fri, 20 Feb 2009 08:45:48 GMT
On 2009-02-20, Jesse Glick <jesse.glick@sun.com> wrote:

> Stefan Bodewig wrote:
>>>> 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.

> As far as I know JDK 1.4 would never try to load a package-info.class
> even if you called Package.getPackage, since this file was newly
> defined in JDK 5.

Thanks.

> So I am still puzzled by the question.

Given that I'm still mostly in JDK 1.4 land when I do Java at all, I
don't have too much experience with annotations - and no idea about
package level annotations at all.

> I guess we can ignore it.

Yes, please do.

Stefan

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


Mime
View raw message