hg: jdk7/build/langtools: 33 new changesets

christine.lu at oracle.com christine.lu at oracle.com
Thu Sep 30 00:26:34 UTC 2010


Changeset: 7ad86852c38a
Author:    cl
Date:      2010-09-23 17:33 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/7ad86852c38a

Added tag jdk7-b111 for changeset 8bec624274ef

! .hgtags

Changeset: e9d09e97d669
Author:    jjg
Date:      2010-08-24 11:31 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/e9d09e97d669

6935638: -implicit:none prevents compilation with annotation processing
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+ test/tools/javac/processing/options/TestImplicitNone.java

Changeset: f3323b1c65ee
Author:    jjg
Date:      2010-08-24 15:09 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/f3323b1c65ee

6929404: Filer.getResource(SOURCE_PATH, ...) does not work when -sourcepath contains >1 entry
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/processing/JavacFiler.java
+ test/tools/javac/processing/filer/TestGetResource2.java

Changeset: 6ef801fa38b7
Author:    jjg
Date:      2010-08-25 11:24 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/6ef801fa38b7

6979564: ":" for path separator in dist/bin/javac does not work on Windows
Reviewed-by: jjh

! make/build.xml
! src/share/bin/launcher.sh-template

Changeset: 70ebdef189c9
Author:    jjg
Date:      2010-08-25 11:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/70ebdef189c9

6960424: new option -Xpkginfo for better control of when package-info.class is generated
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/code/Attribute.java
! src/share/classes/com/sun/tools/javac/code/Types.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/jvm/ClassWriter.java
! src/share/classes/com/sun/tools/javac/main/OptionName.java
! src/share/classes/com/sun/tools/javac/main/RecognizedOptions.java
! src/share/classes/com/sun/tools/javac/resources/javac.properties
+ test/tools/javac/TestPkgInfo.java

Changeset: ecff24121064
Author:    naoto
Date:      2010-08-25 15:31 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/ecff24121064

6875847: Java Locale Enhancement
Summary: Fix for javac to allow "sun.util.locale" package accessible.
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/resources/legacy.properties

Changeset: cfd047f3cf60
Author:    jjg
Date:      2010-08-26 15:17 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/cfd047f3cf60

6604599: ToolProvider should be less compiler-specific
Reviewed-by: darcy

! src/share/classes/javax/tools/ToolProvider.java
+ test/tools/javac/api/ToolProvider/HelloWorldTest.java
+ test/tools/javac/api/ToolProvider/ToolProviderTest1.java
+ test/tools/javac/api/ToolProvider/ToolProviderTest2.java

Changeset: ae3acbf63943
Author:    jjg
Date:      2010-08-26 16:13 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/ae3acbf63943

6980017: javap -XDdetail:source behaves badly if source not available.
Reviewed-by: ksrini

! src/share/classes/com/sun/tools/javap/CodeWriter.java
! src/share/classes/com/sun/tools/javap/SourceWriter.java
+ test/tools/javap/T6980017.java

Changeset: 3a9f319be48a
Author:    jjg
Date:      2010-08-27 17:14 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/3a9f319be48a

6980724: test/tools/javac/InterfaceAssert.java sometimes fails
Reviewed-by: darcy

! test/tools/javac/InterfaceAssert.java

Changeset: b4e7a57af8df
Author:    jjg
Date:      2010-08-27 17:21 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/b4e7a57af8df

6570730: com.sun.source.tree.ModifiersTree.getFlags() should return class type
Reviewed-by: mcimadamore

! src/share/classes/com/sun/source/tree/Tree.java
! src/share/classes/com/sun/tools/javac/tree/JCTree.java
- test/tools/javac/T6341023.java
+ test/tools/javac/tree/ClassTreeTest.java
+ test/tools/javac/tree/TreeKindTest.java

Changeset: eb7c263aab73
Author:    jjg
Date:      2010-08-27 17:59 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/eb7c263aab73

6980707: Reduce use of IOException in JavaCompiler
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/main/Main.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/FatalError.java
! test/tools/javac/diags/examples.not-yet.txt

Changeset: 4124840b35fe
Author:    jjg
Date:      2010-08-30 18:03 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/4124840b35fe

6403465: javac should defer diagnostics until it can be determined they are persistent
Reviewed-by: mcimadamore, darcy

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/util/Log.java
! test/tools/javac/processing/6430209/b6341534.java
+ test/tools/javac/processing/errors/TestSuppression.java

Changeset: d3ead6731a91
Author:    jrose
Date:      2010-09-01 03:19 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/d3ead6731a91

6979683: inconsistent interaction of reference cast with box/unbox conversions leaves out a useful case
Summary: Allow casts which narrow and then unbox.
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/6979683/TestCast6979683_BAD34.java
+ test/tools/javac/6979683/TestCast6979683_BAD34.java.errlog
+ test/tools/javac/6979683/TestCast6979683_BAD35.java
+ test/tools/javac/6979683/TestCast6979683_BAD35.java.errlog
+ test/tools/javac/6979683/TestCast6979683_BAD36.java
+ test/tools/javac/6979683/TestCast6979683_BAD36.java.errlog
+ test/tools/javac/6979683/TestCast6979683_BAD37.java
+ test/tools/javac/6979683/TestCast6979683_BAD37.java.errlog
+ test/tools/javac/6979683/TestCast6979683_BAD38.java
+ test/tools/javac/6979683/TestCast6979683_BAD38.java.errlog
+ test/tools/javac/6979683/TestCast6979683_BAD39.java
+ test/tools/javac/6979683/TestCast6979683_BAD39.java.errlog
+ test/tools/javac/6979683/TestCast6979683_GOOD.java

Changeset: f37253c9e082
Author:    sundar
Date:      2010-09-02 23:10 +0530
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/f37253c9e082

6458749: TypeParameterElement.getEnclosedElements throws NPE within javac.
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Symbol.java
+ test/tools/javac/T6458749.java

Changeset: 3ff3f20471b4
Author:    jjg
Date:      2010-09-02 18:26 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/3ff3f20471b4

6921495: spurious semicolons in class def cause empty NOPOS blocks
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
+ test/tools/javac/parser/ExtraSemiTest.java

Changeset: 25dd23fa2511
Author:    sundar
Date:      2010-09-03 11:25 +0530
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/25dd23fa2511

6458823: Messager messages on TypeParamterElements to not include position information.
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
+ test/tools/javac/T6458823/MyProcessor.java
+ test/tools/javac/T6458823/T6458823.java
+ test/tools/javac/T6458823/TestClass.java

Changeset: d54300fb3554
Author:    sundar
Date:      2010-09-03 12:36 +0530
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/d54300fb3554

6956462: AssertionError exception thrown in the Compiler Tree API in JDK 7.
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/T6956462/T6956462.java
+ test/tools/javac/T6956462/TestClass.java

Changeset: 3fba23db9619
Author:    lana
Date:      2010-09-02 22:11 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/3fba23db9619

Merge


Changeset: 68e765b1e9ed
Author:    lana
Date:      2010-09-03 12:00 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/68e765b1e9ed

Merge


Changeset: ea54372637a5
Author:    jjg
Date:      2010-09-06 12:55 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/ea54372637a5

6930507: Symbols for anonymous and local classes made too late for use by java tree API
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
+ test/tools/javac/api/TestGetElement.java
! test/tools/javac/processing/model/element/TestAnonClassNames.java
! test/tools/javac/processing/model/element/TestAnonSourceNames.java

Changeset: 7ae4016c5938
Author:    mcimadamore
Date:      2010-09-07 17:31 +0100
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/7ae4016c5938

6337171: javac should create bridge methods when type variable bounds restricted
Summary: javac should add synthetic overrides for inherited abstract methods in order to preserve binary compatibility
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/code/Scope.java
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ src/share/classes/com/sun/tools/javac/util/Filter.java
+ test/tools/javac/generics/OverrideBridge.java

Changeset: 584365f256a7
Author:    mcimadamore
Date:      2010-09-07 17:32 +0100
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/584365f256a7

6979327: method handle invocation should use casts instead of type parameters to specify return type
Summary: infer return type for polymorphic signature calls according to updated JSR 292 draft
Reviewed-by: jjg
Contributed-by: john.r.rose at oracle.com

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/share/classes/com/sun/tools/javac/jvm/Target.java
! src/share/classes/com/sun/tools/javac/main/Main.java
! src/share/classes/com/sun/tools/javac/parser/Scanner.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/Names.java
! test/tools/javac/diags/examples.not-yet.txt
+ test/tools/javac/diags/examples/TypeParameterOnPolymorphicSignature.java
+ test/tools/javac/diags/examples/UnsupportedExoticID.java
! test/tools/javac/meth/InvokeDyn.java
+ test/tools/javac/meth/InvokeDynTrans.java
+ test/tools/javac/meth/InvokeDynTrans.out
! test/tools/javac/meth/InvokeMH.java
+ test/tools/javac/meth/InvokeMHTrans.java
+ test/tools/javac/meth/InvokeMHTrans.out
- test/tools/javac/meth/MakeNegTests.sh
- test/tools/javac/quid/MakeNegTests.sh
! test/tools/javac/quid/QuotedIdent.java
! test/tools/javac/quid/QuotedIdent2.java

Changeset: 12d8f7e417fd
Author:    mcimadamore
Date:      2010-09-07 17:32 +0100
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/12d8f7e417fd

6981185: com.sun.tools.model.JavacTypes.contains() calls Type.contains instead of Types.containsType
Summary: wrong implementation is causing trivial containment tests to fail unexpectedly (when such tests are executed using compiler API)
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/model/JavacTypes.java
+ test/tools/javac/api/TestContainTypes.java

Changeset: bfdfc13fe641
Author:    mcimadamore
Date:      2010-09-07 17:33 +0100
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/bfdfc13fe641

6970584: Flow.java should be more error-friendly
Summary: Added a post-attribution visitor that fixup uninitialized types/symbol in AST after erroneous attribution
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Symtab.java
! src/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+ test/tools/javac/failover/CheckAttributedTree.java
+ test/tools/javac/failover/FailOver01.java
+ test/tools/javac/failover/FailOver01.out
+ test/tools/javac/failover/FailOver02.java
+ test/tools/javac/failover/FailOver02.out
+ test/tools/javac/failover/FailOver03.java
+ test/tools/javac/failover/FailOver03.out
+ test/tools/javac/failover/FailOver04.java
+ test/tools/javac/failover/FailOver04.out
+ test/tools/javac/failover/FailOver05.java
+ test/tools/javac/failover/FailOver05.out
+ test/tools/javac/failover/FailOver06.java
+ test/tools/javac/failover/FailOver06.out
+ test/tools/javac/failover/FailOver07.java
+ test/tools/javac/failover/FailOver07.out
+ test/tools/javac/failover/FailOver08.java
+ test/tools/javac/failover/FailOver08.out
+ test/tools/javac/failover/FailOver09.java
+ test/tools/javac/failover/FailOver09.out
+ test/tools/javac/failover/FailOver10.java
+ test/tools/javac/failover/FailOver10.out
+ test/tools/javac/failover/FailOver11.java
+ test/tools/javac/failover/FailOver11.out
+ test/tools/javac/failover/FailOver12.java
+ test/tools/javac/failover/FailOver12.out
+ test/tools/javac/failover/FailOver13.java
+ test/tools/javac/failover/FailOver13.out
+ test/tools/javac/failover/FailOver14.java
+ test/tools/javac/failover/FailOver14.out

Changeset: c388fa8c6a43
Author:    ohair
Date:      2010-09-07 15:49 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/c388fa8c6a43

Merge

- test/tools/javac/T6341023.java
- test/tools/javac/meth/MakeNegTests.sh
- test/tools/javac/quid/MakeNegTests.sh

Changeset: 014cf6234586
Author:    sundar
Date:      2010-09-09 09:42 +0530
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/014cf6234586

6900149: IllegalStateException when compiling same files and DiagnosticListener is set.
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+ test/tools/javac/T6900149.java

Changeset: fc73f83cd563
Author:    jjg
Date:      2010-09-09 13:31 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/fc73f83cd563

6983239: TreeScanner does not scan default value for method
Reviewed-by: mcimadamore

! src/share/classes/com/sun/source/util/TreeScanner.java
! test/tools/javac/api/T6392782.java
+ test/tools/javac/tree/AbstractTreeScannerTest.java
+ test/tools/javac/tree/JavacTreeScannerTest.java
+ test/tools/javac/tree/SourceTreeScannerTest.java
- test/tools/javac/tree/TreeScannerTest.java

Changeset: 80505c2026e7
Author:    jjg
Date:      2010-09-13 11:35 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/80505c2026e7

6965264: langtools build should use ${ant.core.lib} instead of ${ant.home}/lib/ant.jar
Reviewed-by: mcimadamore
Contributed-by: jesse.glick at oracle.com

! make/build.xml

Changeset: e92ae290fb47
Author:    jjg
Date:      2010-09-13 11:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/e92ae290fb47

6978974: [langtools] <findbugs> task should use ${target.java.home}
Reviewed-by: mcimadamore

! make/build.xml

Changeset: 6e2ccba61117
Author:    jjg
Date:      2010-09-16 09:56 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/6e2ccba61117

6985181: Annotations lost from classfile
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
+ test/tools/javac/T6985181.java

Changeset: bbc9765d9ec6
Author:    jjg
Date:      2010-09-16 09:57 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/bbc9765d9ec6

6985115: tests create too much output
Reviewed-by: mcimadamore

! test/tools/javac/T6855236.java
! test/tools/javac/failover/CheckAttributedTree.java
! test/tools/javac/tree/AbstractTreeScannerTest.java
! test/tools/javac/tree/JavacTreeScannerTest.java
! test/tools/javac/tree/SourceTreeScannerTest.java
! test/tools/javap/T6868539.java
! test/tools/javap/T6980017.java

Changeset: c5df455918c4
Author:    lana
Date:      2010-09-16 11:20 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/c5df455918c4

Merge

- test/tools/javac/T6341023.java
- test/tools/javac/meth/MakeNegTests.sh
- test/tools/javac/quid/MakeNegTests.sh
- test/tools/javac/tree/TreeScannerTest.java

Changeset: fd2579b80b83
Author:    lana
Date:      2010-09-24 16:43 -0700
URL:       http://hg.openjdk.java.net/jdk7/build/langtools/rev/fd2579b80b83

Merge

- test/tools/javac/T6341023.java
- test/tools/javac/meth/MakeNegTests.sh
- test/tools/javac/quid/MakeNegTests.sh
- test/tools/javac/tree/TreeScannerTest.java




More information about the build-dev mailing list