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.
Comments:

Post a Comment:
Comments are closed for this entry.
About

darcy

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
News

No bookmarks in folder

Blogroll