hg: jdk7/jdk7/langtools: 15 new changesets

lana.steuck at sun.com lana.steuck at sun.com
Mon Feb 15 17:24:36 PST 2010


Changeset: f23b985beb78
Author:    jjg
Date:      2010-01-19 14:28 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/f23b985beb78

6917067: refactor type annotations code from TransTypes into new TypeAnnotations class
Reviewed-by: jjg, darcy
Contributed-by: mali at csail.mit.edu, mernst at cs.washington.edu

+ src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java

Changeset: 0eaf89e08564
Author:    jjg
Date:      2010-01-20 16:12 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/0eaf89e08564

6918127: improve handling of TypeAnnotationPosition fields
Reviewed-by: jjg, darcy
Contributed-by: mali at csail.mit.edu, mernst at cs.washington.edu

! src/share/classes/com/sun/tools/classfile/ExtendedAnnotation.java
! src/share/classes/com/sun/tools/javac/code/TypeAnnotationPosition.java
! src/share/classes/com/sun/tools/javac/jvm/Code.java
! src/share/classes/com/sun/tools/javac/jvm/Gen.java

Changeset: da0e3e2dd3ef
Author:    jjg
Date:      2010-01-26 11:15 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/da0e3e2dd3ef

6919944: incorrect position given for duplicate annotation value error
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/comp/Check.java
! test/tools/javac/typeAnnotations/failures/common/arrayclass/DuplicateAnnotationValue.java
! test/tools/javac/typeAnnotations/failures/common/arrayclass/DuplicateAnnotationValue.out
! test/tools/javac/typeAnnotations/failures/common/arrays/DuplicateAnnotationValue.java
! test/tools/javac/typeAnnotations/failures/common/arrays/DuplicateAnnotationValue.out
! test/tools/javac/typeAnnotations/failures/common/innertypeparams/DuplicateAnnotationValue.java
! test/tools/javac/typeAnnotations/failures/common/innertypeparams/DuplicateAnnotationValue.out
! test/tools/javac/typeAnnotations/failures/common/newarray/DuplicateAnnotationValue.java
! test/tools/javac/typeAnnotations/failures/common/newarray/DuplicateAnnotationValue.out
! test/tools/javac/typeAnnotations/failures/common/parambounds/DuplicateAnnotationValue.java
! test/tools/javac/typeAnnotations/failures/common/parambounds/DuplicateAnnotationValue.out
! test/tools/javac/typeAnnotations/failures/common/receiver/DuplicateAnnotationValue.java
! test/tools/javac/typeAnnotations/failures/common/receiver/DuplicateAnnotationValue.out
! test/tools/javac/typeAnnotations/failures/common/typeArgs/DuplicateAnnotationValue.java
! test/tools/javac/typeAnnotations/failures/common/typeArgs/DuplicateAnnotationValue.out
! test/tools/javac/typeAnnotations/failures/common/typeparams/DuplicateAnnotationValue.java
! test/tools/javac/typeAnnotations/failures/common/typeparams/DuplicateAnnotationValue.out
! test/tools/javac/typeAnnotations/failures/common/wildcards/DuplicateAnnotationValue.java
! test/tools/javac/typeAnnotations/failures/common/wildcards/DuplicateAnnotationValue.out

Changeset: 59167312ed4e
Author:    jjg
Date:      2010-01-26 11:23 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/59167312ed4e

6917130: should test that annotations that have been optimized away are not emitted to classfile
Reviewed-by: jjg, darcy
Contributed-by: mali at csail.mit.edu, mernst at cs.washington.edu

+ test/tools/javac/typeAnnotations/classfile/DeadCode.java

Changeset: ff7a01f9eff3
Author:    lana
Date:      2010-01-27 14:46 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/ff7a01f9eff3

Merge


Changeset: 699ecefbdd4e
Author:    jjg
Date:      2010-01-29 16:06 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/699ecefbdd4e

6919889: assorted position errors in compiler syntax trees
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java
+ test/tools/javac/T6654037.java
! test/tools/javac/generics/diamond/neg/Neg01.out
! test/tools/javac/generics/diamond/neg/Neg02.out
! test/tools/javac/generics/diamond/neg/Neg03.out
! test/tools/javac/generics/diamond/neg/Neg04.out
+ test/tools/javac/treepostests/TreePosTest.java

Changeset: 8e638442522a
Author:    jjg
Date:      2010-01-29 16:54 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/8e638442522a

6499119: Created package-info class file modeled improperly
6920317: package-info.java file has to be specified on the javac cmdline, else it will not be avail.
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Enter.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
+ test/tools/javac/processing/6499119/ClassProcessor.java
+ test/tools/javac/processing/6499119/package-info.java
+ test/tools/javac/processing/T6920317.java

Changeset: 732510cc3538
Author:    jjg
Date:      2010-02-01 17:05 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/732510cc3538

6919986: [308] change size of type_index (of CLASS_EXTENDS and THROWS) from byte to short
Reviewed-by: darcy, jjg
Contributed-by: mali at csail.mit.edu, mernst at cs.washington.edu

! src/share/classes/com/sun/tools/classfile/ExtendedAnnotation.java
! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java

Changeset: b0a68258360a
Author:    jjg
Date:      2010-02-02 10:56 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/b0a68258360a

6918625: handle annotations on array class literals
Reviewed-by: jjg, darcy
Contributed-by: mali at csail.mit.edu, mernst at cs.washington.edu

! src/share/classes/com/sun/tools/classfile/ClassWriter.java
! src/share/classes/com/sun/tools/javac/code/TypeAnnotationPosition.java
! src/share/classes/com/sun/tools/javap/AnnotationWriter.java
+ test/tools/javap/typeAnnotations/ArrayClassLiterals2.java

Changeset: 41ed86f86585
Author:    jjg
Date:      2010-02-03 11:28 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/41ed86f86585

6922429: extend tree position test waiver
Reviewed-by: darcy

! test/tools/javac/treepostests/TreePosTest.java

Changeset: f65d652cb6af
Author:    jjg
Date:      2010-02-03 11:33 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/f65d652cb6af

6922300: [308] populate the reference_info for type annotations targeting primitive class literals
Reviewed-by: darcy, jjg
Contributed-by: mali at csail.mit.edu, mernst at cs.washington.edu

! src/share/classes/com/sun/tools/javac/jvm/Gen.java

Changeset: 4c844e609d81
Author:    jjg
Date:      2010-02-03 16:58 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/4c844e609d81

6921979: add test program to verify annotations are attached to nodes as expected
Reviewed-by: darcy

+ test/tools/javac/treeannotests/AnnoTreeTests.java
+ test/tools/javac/treeannotests/DA.java
+ test/tools/javac/treeannotests/TA.java
+ test/tools/javac/treeannotests/Test.java
+ test/tools/javac/treeannotests/TestProcessor.java

Changeset: 4b4e282a3146
Author:    jjg
Date:      2010-02-04 10:14 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/4b4e282a3146

6923080: TreeScanner.visitNewClass should scan tree.typeargs
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/tree/TreeScanner.java
+ test/tools/javac/tree/T6923080.java
+ test/tools/javac/tree/TreeScannerTest.java

Changeset: 56a46d079264
Author:    lana
Date:      2010-02-08 23:59 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/56a46d079264

Merge


Changeset: d9cd5b8286e4
Author:    lana
Date:      2010-02-14 23:39 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/d9cd5b8286e4

Merge




More information about the jdk7-dev mailing list