JDK 6 Build 95 JSR 269 API Changes
By Darcy-Oracle on Aug 14, 2006
Build 95 of JDK 6 include a few changes since build 92:
- The return type of the
Resourcemethods was changed from
FileObject. This less-specific return type is more appropriate for files that are not being treated as source or class files by the annotation processing infrastructure.
RoundEnvironment.getElementsAnnotatedWithmethods were clarified to state that non-annotation types are illegal arguments.
- The method
PackageElement.isUnnamedwas added so that the text of a package's name does not need to be inspected to determine if a package is unnamed.