hg: jdk9/hs-emb/langtools: 11 new changesets

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Mon Oct 27 17:53:23 UTC 2014


Changeset: bf8500822576
Author:    emc
Date:      2014-10-21 09:01 -0400
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/bf8500822576

8054457: Refactor Symbol kinds from small ints to an enum
Summary: Replace bitmap logic in symbol.kind and pkind with an enum-based API
Reviewed-by: mcimadamore, jjg

! make/build.properties
! make/tools/crules/MutableFieldsAnalyzer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Kinds.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Printer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/JNIWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Pool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/AnnotationProxyMaker.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacElements.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/sym/CreateSymbols.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/dependencies/TypeAndSupertypesDependency.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/AnnotationTypeDocImpl.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/ClassDocImpl.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/JavadocEnter.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/JavadocMemberEnter.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/SeeTagImpl.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/SerializedForm.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/TypeVariableImpl.java
! test/tools/javac/6889255/T6889255.java
! test/tools/javac/scope/HashCollisionTest.java
! test/tools/javac/scope/StarImportTest.java

Changeset: e284f560acf6
Author:    jjg
Date:      2014-10-21 13:08 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/e284f560acf6

8060056: replace java.io.File with java.nio.file.Path
Reviewed-by: ksrini, jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/CacheFSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RelativePath.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexCache.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Main.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/JavacState.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/client/SjavacClient.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java
! test/tools/javac/T6725036.java
! test/tools/javac/api/6440528/T6440528.java
! test/tools/javac/file/T7018098.java
! test/tools/javac/file/T7068437.java
! test/tools/javac/file/T7068451.java
! test/tools/javac/processing/errors/CrashOnNonExistingAnnotation/Processor.java
! test/tools/javac/processing/errors/StopOnInapplicableAnnotations/Processor.java
! test/tools/javac/warnings/suppress/VerifySuppressWarnings.java
! test/tools/javap/WhitespaceTest.java

Changeset: 4be0e35f385a
Author:    jjg
Date:      2014-10-21 17:50 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/4be0e35f385a

8061723: 8060056 breaks tests on Windows
Reviewed-by: darcy

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/CacheFSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RelativePath.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexCache.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Main.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/JavacState.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/client/SjavacClient.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java
! test/tools/javac/T6725036.java
! test/tools/javac/api/6440528/T6440528.java
! test/tools/javac/file/T7018098.java
! test/tools/javac/file/T7068437.java
! test/tools/javac/file/T7068451.java
! test/tools/javac/processing/errors/CrashOnNonExistingAnnotation/Processor.java
! test/tools/javac/processing/errors/StopOnInapplicableAnnotations/Processor.java
! test/tools/javac/warnings/suppress/VerifySuppressWarnings.java
! test/tools/javap/WhitespaceTest.java

Changeset: 873e58766948
Author:    vromero
Date:      2014-10-23 10:40 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/873e58766948

8059710: javac, the same approach used in fix for JDK-8058708 should be applied to Code.closeAliveRanges
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java

Changeset: 211903a785f3
Author:    vromero
Date:      2014-10-23 10:42 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/211903a785f3

8057800: Method reference with generic type creates NPE when compiling
Reviewed-by: mcimadamore, dlsmith

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/lambda/T8057800/NPEMethodReferenceAndGenericsTest.java

Changeset: 315237c6b5e4
Author:    katleman
Date:      2014-10-23 11:19 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/315237c6b5e4

Added tag jdk9-b36 for changeset c536541235e5

! .hgtags

Changeset: e72e850ffa77
Author:    lana
Date:      2014-10-23 13:43 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/e72e850ffa77

Merge


Changeset: 2e654dfe862e
Author:    mcimadamore
Date:      2014-10-24 10:54 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/2e654dfe862e

8061778: Wrong LineNumberTable for default constructors
Summary: Synthetic empty blocks generated by Lower are erroneously picked up by Gen
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/linenumbers/NestedLineNumberTest.java

Changeset: 834b3d80c734
Author:    jfranck
Date:      2014-10-24 08:34 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/834b3d80c734

8054448: (ann) Cannot reference field of inner class in an anonymous class
Reviewed-by: jlahoda, mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/annotations/FinalStringInNested.java

Changeset: 14e1d2a15822
Author:    jlahoda
Date:      2014-10-24 20:07 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/14e1d2a15822

8061323: JavadocTokenizer repeatedly compiles pattern to check for deprecation
Summary: Keeping the "@deprecated" Pattern in a static field.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavadocTokenizer.java

Changeset: bbd0164f668d
Author:    alundblad
Date:      2014-10-27 14:55 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/bbd0164f668d

8060715: There is a small race condition in IdleResetSjavac
Summary: Synchronizes on method level instead of variable access level.
Reviewed-by: jfranck

! src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/IdleResetSjavac.java



More information about the jdk9-hs-emb-changes mailing list