Tuesday Jan 31, 2012

JSR 308 Early Draft Review

I am pleased to announce an Early Draft Review of JSR 308, which extends the Java language in Java SE 8 so that annotations may appear on essentially any use of a type.

This generalization of annotations with respect to Java SE 7 (where annotations may only appear on declarations) enables new uses of annotations, such as the Checker Framework. JSR 308 itself makes no commitment about the semantics of annotations which might appear in any given location.

The PDF available for Early Draft Review covers language changes and class file support, and sketches interactions with other language features planned for Java SE 8. We expect the next milestone review will include APIs for reflection (java.lang.reflect) and annotation processing (JSR 269's javax.lang.model). The reference implementation will be moved from the jsr308-langtools project into OpenJDK's Type Annotations project by that time.

About

Alex Buckley is the Specification Lead for the Java language and JVM at Oracle.

Search

Categories
Archives
« January 2012 »
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
Feeds