hg: jdk7/jdk7/langtools: 16 new changesets

lana.steuck at oracle.com lana.steuck at oracle.com
Wed Oct 13 11:46:36 PDT 2010


Changeset: 50f9ac2f4730
Author:    mcimadamore
Date:      2010-09-18 09:54 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/50f9ac2f4730

6980862: too aggressive compiler optimization causes stale results of Types.implementation()
Summary: use a scope counter in order to determine when/if the implementation cache entries are stale
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Scope.java
! src/share/classes/com/sun/tools/javac/code/Symtab.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/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java

Changeset: 77cc34d5e548
Author:    mcimadamore
Date:      2010-09-18 09:56 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/77cc34d5e548

5088624: cannot find symbol message should be more intelligent
Summary: Resolve.java should keep track of all candidates found during a method resolution sweep to generate more meaningful diagnostics
Reviewed-by: jjg

! 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/Resolve.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java
! test/tools/javac/6758789/T6758789a.out
! test/tools/javac/6840059/T6840059.out
! test/tools/javac/6857948/T6857948.out
! test/tools/javac/Diagnostics/6722234/T6722234a_1.out
! test/tools/javac/Diagnostics/6722234/T6722234a_2.out
! test/tools/javac/Diagnostics/6722234/T6722234b_1.out
! test/tools/javac/Diagnostics/6722234/T6722234b_2.out
! test/tools/javac/Diagnostics/6722234/T6722234c.out
! test/tools/javac/Diagnostics/6799605/T6799605.out
! test/tools/javac/Diagnostics/6862608/T6862608a.out
! test/tools/javac/Diagnostics/6862608/T6862608b.out
! test/tools/javac/T6326754.out
! test/tools/javac/diags/Example.java
! test/tools/javac/diags/examples.not-yet.txt
+ test/tools/javac/diags/examples/ExplicitParamsDoNotConformToBounds.java
+ test/tools/javac/diags/examples/InapplicableSymbols.java
! test/tools/javac/diags/examples/IncompatibleTypes1.java
+ test/tools/javac/diags/examples/InferArgsLengthMismatch.java
! test/tools/javac/diags/examples/KindnameConstructor.java
! test/tools/javac/diags/examples/NoArgs.java
+ test/tools/javac/diags/examples/VarargsArgumentMismatch.java
! test/tools/javac/diags/examples/WhereCaptured.java
! test/tools/javac/diags/examples/WhereCaptured1.java
! test/tools/javac/diags/examples/WhereTypeVar.java
! test/tools/javac/generics/diamond/neg/Neg06.out
! test/tools/javac/generics/inference/6315770/T6315770.out
! test/tools/javac/generics/inference/6611449/T6611449.out
! test/tools/javac/generics/inference/6638712/T6638712a.out
! test/tools/javac/generics/inference/6638712/T6638712b.out
! test/tools/javac/generics/inference/6638712/T6638712c.out
! test/tools/javac/generics/inference/6638712/T6638712d.out
! test/tools/javac/generics/inference/6638712/T6638712e.out

Changeset: 0c1ef2af7a8e
Author:    mcimadamore
Date:      2010-09-18 14:24 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/0c1ef2af7a8e

6863465: javac doesn't detect circular subclass dependencies via qualified names
Summary: class inheritance circularity check should look at trees, not just symbols
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/6863465/T6863465a.java
+ test/tools/javac/6863465/T6863465a.out
+ test/tools/javac/6863465/T6863465b.java
+ test/tools/javac/6863465/T6863465b.out
+ test/tools/javac/6863465/T6863465c.java
+ test/tools/javac/6863465/T6863465c.out
+ test/tools/javac/6863465/T6863465d.java
+ test/tools/javac/6863465/T6863465d.out
+ test/tools/javac/6863465/TestCircularClassfile.java
! test/tools/javac/CyclicInheritance.out
! test/tools/javac/NameCollision.out

Changeset: da7ca56d092c
Author:    sundar
Date:      2010-09-22 20:53 +0530
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/da7ca56d092c

6587674: NoClassdefFound when anonymously extending a class.
Reviewed-by: jjg, mcimadamore

! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/T6587674.java

Changeset: 3eea38ce151c
Author:    jjg
Date:      2010-09-22 12:53 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/3eea38ce151c

6986772: langtools netbeans build should use ${ant.core.lib} instead of ${ant.home}/lib/ant.jar
Reviewed-by: ohair

! make/netbeans/langtools/build.xml

Changeset: 827d87221959
Author:    lana
Date:      2010-09-25 12:02 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/827d87221959

Merge


Changeset: f6fe12839a8a
Author:    jjg
Date:      2010-09-27 14:05 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/f6fe12839a8a

6890226: javah -version is broken
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javah/JavahTask.java
! src/share/classes/com/sun/tools/javah/resources/l10n.properties
+ src/share/classes/com/sun/tools/javah/resources/version.properties-template
+ test/tools/javah/VersionTest.java

Changeset: 3c9b64e55c5d
Author:    jjg
Date:      2010-09-27 14:20 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/3c9b64e55c5d

6877202: Elements.getDocComment() is not getting JavaDocComments
6861094: javac -Xprint <file> does not print comments
6985205: access to tree positions and doc comments may be lost across annotation processing rounds
Reviewed-by: darcy

! src/share/classes/com/sun/tools/apt/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/parser/DocCommentScanner.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/parser/ParserFactory.java
! src/share/classes/com/sun/tools/javac/parser/Scanner.java
+ src/share/classes/com/sun/tools/javac/parser/ScannerFactory.java
! src/share/classes/com/sun/tools/javadoc/JavadocTool.java
! test/tools/javac/6302184/T6302184.out
! test/tools/javac/6304921/TestLog.java
! test/tools/javac/api/TestJavacTaskScanner.java
- test/tools/javac/processing/Xprint.java
+ test/tools/javac/processing/model/util/elements/doccomments/TestDocComments.java
+ test/tools/javac/processing/model/util/elements/doccomments/a/First.java
+ test/tools/javac/processing/model/util/elements/doccomments/z/Last.java
+ test/tools/javac/processing/options/Xprint.java
+ test/tools/javac/processing/options/XprintDocComments.java
+ test/tools/javac/processing/options/XprintDocComments.out
+ test/tools/javac/tree/TreePosRoundsTest.java

Changeset: d4df3b6ee729
Author:    jjg
Date:      2010-09-27 17:28 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/d4df3b6ee729

6986246: Trees object is round-specific
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! test/tools/javac/processing/model/util/elements/doccomments/TestDocComments.java
! test/tools/javac/tree/TreePosRoundsTest.java

Changeset: 28b021bb889f
Author:    sundar
Date:      2010-09-28 22:46 +0530
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/28b021bb889f

6967842: Element not returned from tree API for ARM resource variables.
Reviewed-by: jjg, darcy

! src/share/classes/com/sun/tools/javac/code/Symbol.java
+ test/tools/javac/processing/model/element/TestResourceElement.java
! test/tools/javac/processing/model/element/TestResourceVariable.java

Changeset: f94af0667151
Author:    jjg
Date:      2010-09-29 14:01 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/f94af0667151

6502392: Invalid relative names for Filer.createResource and Filer.getResource
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
+ test/tools/javac/processing/filer/TestInvalidRelativeNames.java

Changeset: d2aaaec153e8
Author:    darcy
Date:      2010-09-29 23:27 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/d2aaaec153e8

6983738: Use a JavacTestingAbstractProcessor
Reviewed-by: jjg

+ test/tools/javac/lib/JavacTestingAbstractProcessor.java
! test/tools/javac/processing/6348499/A.java
! test/tools/javac/processing/6348499/T6348499.java
! test/tools/javac/processing/6359313/T6359313.java
! test/tools/javac/processing/6365040/ProcBar.java
! test/tools/javac/processing/6365040/ProcFoo.java
! test/tools/javac/processing/6365040/T6365040.java
! test/tools/javac/processing/6413690/T6413690.java
! test/tools/javac/processing/6414633/A.java
! test/tools/javac/processing/6414633/T6414633.java
! test/tools/javac/processing/6430209/T6430209.java
! test/tools/javac/processing/6430209/b6341534.java
! test/tools/javac/processing/6499119/ClassProcessor.java
! test/tools/javac/processing/6511613/DummyProcessor.java
! test/tools/javac/processing/6511613/clss41701.java
! test/tools/javac/processing/6512707/T6512707.java
! test/tools/javac/processing/6634138/T6634138.java
! test/tools/javac/processing/T6439826.java
! test/tools/javac/processing/T6920317.java
! test/tools/javac/processing/environment/TestSourceVersion.java
! test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java
! test/tools/javac/processing/errors/TestFatalityOfParseErrors.java
! test/tools/javac/processing/errors/TestOptionSyntaxErrors.java
! test/tools/javac/processing/errors/TestReturnCode.java
! test/tools/javac/processing/filer/TestFilerConstraints.java
! test/tools/javac/processing/filer/TestGetResource.java
! test/tools/javac/processing/filer/TestGetResource2.java
! test/tools/javac/processing/filer/TestInvalidRelativeNames.java
! test/tools/javac/processing/filer/TestLastRound.java
! test/tools/javac/processing/filer/TestPackageInfo.java
! test/tools/javac/processing/messager/6362067/T6362067.java
! test/tools/javac/processing/messager/MessagerBasics.java
! test/tools/javac/processing/model/6194785/T6194785.java
! test/tools/javac/processing/model/6341534/T6341534.java
! test/tools/javac/processing/model/element/TestAnonClassNames.java
! test/tools/javac/processing/model/element/TestAnonSourceNames.java
! test/tools/javac/processing/model/element/TestElement.java
! test/tools/javac/processing/model/element/TestNames.java
! test/tools/javac/processing/model/element/TestPackageElement.java
! test/tools/javac/processing/model/element/TestResourceElement.java
! test/tools/javac/processing/model/element/TestResourceVariable.java
! test/tools/javac/processing/model/element/TypeParamBounds.java
! test/tools/javac/processing/model/type/MirroredTypeEx/OverEager.java
! test/tools/javac/processing/model/type/MirroredTypeEx/Plurality.java
! test/tools/javac/processing/model/type/NoTypes.java
! test/tools/javac/processing/model/util/BinaryName.java
! test/tools/javac/processing/model/util/GetTypeElemBadArg.java
! test/tools/javac/processing/model/util/NoSupers.java
! test/tools/javac/processing/model/util/OverridesSpecEx.java
! test/tools/javac/processing/model/util/TypesBadArg.java
! test/tools/javac/processing/model/util/deprecation/TestDeprecation.java
! test/tools/javac/processing/model/util/directSupersOfErr/DirectSupersOfErr.java
! test/tools/javac/processing/model/util/elements/TestGetConstantExpression.java
! test/tools/javac/processing/model/util/elements/TestGetPackageOf.java
! test/tools/javac/processing/model/util/filter/TestIterables.java
! test/tools/javac/processing/warnings/TestSourceVersionWarnings.java
! test/tools/javac/processing/werror/WError1.java
! test/tools/javac/processing/werror/WErrorGen.java
! test/tools/javac/processing/werror/WErrorLast.java

Changeset: 7b413ac1a720
Author:    jjg
Date:      2010-09-30 10:47 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/7b413ac1a720

6988436: Cleanup javac option handling
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Lower.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/file/JavacFileManager.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/Gen.java
! src/share/classes/com/sun/tools/javac/jvm/Target.java
! 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/JavacFiler.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/util/Log.java
! src/share/classes/com/sun/tools/javac/util/Names.java
! src/share/classes/com/sun/tools/javac/util/Options.java

Changeset: 232919708730
Author:    alanb
Date:      2010-10-03 19:40 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/232919708730

6907737: (file) FileVisitor and Files.walkFileTree issues
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java

Changeset: 2c321dcb1edc
Author:    lana
Date:      2010-10-04 14:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/2c321dcb1edc

Merge

- test/tools/javac/processing/Xprint.java

Changeset: e4e7408cdc5b
Author:    lana
Date:      2010-10-12 12:52 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/e4e7408cdc5b

Merge

- test/tools/javac/processing/Xprint.java



More information about the jdk7-dev mailing list