X

Musings on JDK development

JDK 6 Build 96 JSR 269 API Changes

Build 96 of JDK 6 include a few changes since build 95:
  • An originatingElements parameter was added to the Filer create methods.
    The originating elements serve as hints to the tool infrastructure to better manage dependencies; they are the types or packages (representing package-info files) which caused an annotation processor to attempt to create a new file. See the Filer specification for more information.

    This is a source compatible change, but a recompile of existing annotation processors which use a Filer is required.

  • Elements.getPackageOf(Element) was added.
  • Various minor specification changes:
    • Element.getSimpleName() result redefined for constructors and initializers
    • TypeParameterElement.getBounds() result when no explicit bound redefined.

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.