Musings on JDK development

JSR 269 in public review

I'm happy to announce that JSR 269 is now in public review. Please send comments to jsr-269-comments@jcp.org.

(The public review draft has several differences from the API specification and implementation in Mustang build 84:

  • The Filer methods return JSR 199 JavaFileObject objects instead of java.io Writer and OutputStream objects.
  • The legal input names to the createSourceFile and createClassFile methods in Filer were expanded to include syntax for creating package-info files.
  • The method

    Set<? extends TypeElement> getSpecifiedTypeElements()

    was replaced with

    Set<? extends Element> getRootElements()

Several of these changes relate to enabling annotation processing on package-info files in additional to normal source and class files.)

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.