Musings on JDK development

JDK 6 Build 95 JSR 269 API Changes

Build 95 of JDK 6 include a few changes since build 92:
  • The return type of the Filer.{create, get}Resource methods was changed from JavaFileObject to 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.
  • The RoundEnvironment.getElementsAnnotatedWith methods were clarified to state that non-annotation types are illegal arguments.
  • The method PackageElement.isUnnamed was added so that the text of a package's name does not need to be inspected to determine if a package is unnamed.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.