On 2009-02-20, Jesse Glick <jesse.gl...@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-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org