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

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Fri Dec 12 18:40:37 UTC 2014


Changeset: caa3490d5aee
Author:    mcimadamore
Date:      2014-11-28 11:45 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/caa3490d5aee

8065986: Compiler fails to NullPointerException when calling super with Object<>()
Summary: Missing POLY kind selector on recursive constructor calls with poly arguments
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/diamond/8065986/T8065986a.java
+ test/tools/javac/generics/diamond/8065986/T8065986a.out
+ test/tools/javac/generics/diamond/8065986/T8065986b.java
+ test/tools/javac/generics/diamond/8065986/T8065986b.out

Changeset: 9d2192f36e53
Author:    jlahoda
Date:      2014-12-03 13:46 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/9d2192f36e53

7101822: Compiling depends on order of imports
7177813: Static import to local nested class fails
Summary: MemberEnter overhaul - TypeEnter is split out of MemberEnter; the TypeEnter consists of several Phases which ensure actions are done in the correct order.
Reviewed-by: mcimadamore, jfranck, aeremeev
Contributed-by: jan.lahoda at oracle.com, maurizio.cimadamore at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Scope.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/Enter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Dependencies.java
+ test/tools/javac/4980495/std/NonStatic2StaticImportClash.java
+ test/tools/javac/4980495/std/NonStatic2StaticImportClash.out
+ test/tools/javac/4980495/std/Static2NonStaticImportClash.java
+ test/tools/javac/4980495/std/Static2NonStaticImportClash.out
! test/tools/javac/4980495/std/Test.out
! test/tools/javac/diags/examples/ImportRequiresCanonical/ImportRequiresCanonical.java
+ test/tools/javac/importChecks/NoImportedNoClasses.java
+ test/tools/javac/importChecks/NoImportedNoClasses.out
+ test/tools/javac/importscope/ImportResolvedTooSoon.java
+ test/tools/javac/importscope/T7101822A.java
+ test/tools/javac/importscope/T7101822Z.java
+ test/tools/javac/importscope/TestDuplicateImport.java
+ test/tools/javac/importscope/TestLazyImportScope.java
+ test/tools/javac/importscope/TypeParamCycle.java
+ test/tools/javac/importscope/TypeParamCycle2.java
+ test/tools/javac/importscope/TypeParamCycle3.java
+ test/tools/javac/importscope/dependencies/DependenciesTest.java
+ test/tools/javac/importscope/dependencies/annotations/Phase.java
+ test/tools/javac/importscope/dependencies/annotations/TriggersComplete.java
+ test/tools/javac/importscope/dependencies/annotations/TriggersCompleteRepeat.java
+ test/tools/javac/importscope/dependencies/tests/ImportResolvedTooSoon.java
+ test/tools/javac/importscope/dependencies/tests/Simple.java
+ test/tools/javac/importscope/dependencies/tests/T7101822/T7101822.java
+ test/tools/javac/importscope/dependencies/tests/T7101822/T7101822Aux.java
+ test/tools/javac/importscope/dependencies/tests/TypeParamCycle.java
+ test/tools/javac/importscope/dependencies/tests/TypeParamCycle2.java
+ test/tools/javac/importscope/dependencies/tests/TypeParamCycle3.java
! test/tools/javac/lib/DPrinter.java
! test/tools/javac/scope/HashCollisionTest.java
! test/tools/javac/scope/StarImportTest.java

Changeset: f7ce2cfa4cdb
Author:    chegar
Date:      2014-12-03 14:25 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/f7ce2cfa4cdb

8049367: Modular Run-Time Images
Reviewed-by: jlahoda, ksrini
Contributed-by: alan.bateman at oracle.com, alex.buckley at oracle.com, bradford.wetmore at oracle.com, chris.hegarty at oracle.com, erik.joelsson at oracle.com, james.laskey at oracle.com, jonathan.gibbons at oracle.com, karen.kinnear at oracle.com, magnus.ihse.bursie at oracle.com, mandy.chung at oracle.com, mark.reinhold at oracle.com, paul.sandoz at oracle.com, sundararajan.athijegannathan at oracle.com

- make/CommonLangtools.gmk
! make/CompileInterim.gmk
- make/GensrcLangtools.gmk
+ make/Tools.gmk
+ make/gensrc/Gensrc-jdk.compiler.gmk
+ make/gensrc/Gensrc-jdk.dev.gmk
+ make/gensrc/Gensrc-jdk.javadoc.gmk
+ make/gensrc/GensrcCommon.gmk
! make/tools/crules/MutableFieldsAnalyzer.java
! src/java.compiler/share/classes/javax/tools/ToolProvider.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/file/JRTIndex.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/RelativePath.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileObject.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/resources/ct.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SmartFileManager.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/Archive.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/ClassFileReader.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/JdepsTask.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/Module.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/ModulesXmlReader.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/PlatformClassPath.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/Profile.java
! test/com/sun/javadoc/testCompletionFailure/TestCompletionFailure.java
- test/tools/apt/Basics/CheckAptIsRemovedTest.java
! test/tools/doclint/tool/PathsTest.java
! test/tools/javac/6508981/TestInferBinaryName.java
! test/tools/javac/EarlyAssertWrapper.java
! test/tools/javac/Paths/Class-Path.sh
! test/tools/javac/Paths/Class-Path2.sh
- test/tools/javac/Paths/CompileClose.java
! test/tools/javac/Paths/Diagnostics.sh
! test/tools/javac/Paths/MineField.sh
- test/tools/javac/Paths/SameJVM.java
! test/tools/javac/Paths/Util.sh
! test/tools/javac/T6558476.java
! test/tools/javac/T6654037.java
! test/tools/javac/T6705935.java
! test/tools/javac/T6725036.java
! test/tools/javac/T6873845.java
! test/tools/javac/annotations/TestAnnotationPackageInfo.java
- test/tools/javac/api/6411310/Test.java
! test/tools/javac/api/6598108/T6598108.java
! test/tools/javac/api/6608214/T6608214.java
! test/tools/javac/api/T6412669.java
! test/tools/javac/api/T6430241.java
! test/tools/javac/api/T6877206.java
! test/tools/javac/api/TestJavacTaskScanner.java
! test/tools/javac/api/TestSearchPaths.java
! test/tools/javac/diags/CheckResourceKeys.java
! test/tools/javac/diags/examples/NotInProfile.java
! test/tools/javac/lib/CompileFail.java
- test/tools/javac/nio/compileTest/CompileTest.java
- test/tools/javac/nio/compileTest/HelloPathWorld.java
! test/tools/javac/processing/model/testgetallmembers/Main.java
! test/tools/javac/processing/options/testPrintProcessorInfo/TestWithXstdout.java
! test/tools/javac/profiles/ProfileOptionTest.java
! test/tools/javadoc/6942366/T6942366.java
! test/tools/javadoc/6964914/TestUserDoclet.java
! test/tools/javadoc/api/basic/GetTask_FileManagerTest.java
! test/tools/javah/T5070898.java
! test/tools/javah/T6893943.java
- test/tools/javah/compareTest/CompareTest.java
- test/tools/javah/compareTest/CompareTest.sh
- test/tools/javah/compareTest/FindNativeFiles.java
- test/tools/javah/compareTest/README
! test/tools/javap/T6729471.java
! test/tools/javap/WhitespaceTest.java
! test/tools/jdeps/APIDeps.java
! test/tools/jdeps/Basic.java
! test/tools/jdeps/DotFileTest.java
- test/tools/jdeps/profiles.properties
! test/tools/lib/ToolBox.java
! test/tools/sjavac/OptionDecoding.java

Changeset: c956c25f9334
Author:    chegar
Date:      2014-12-03 19:28 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/c956c25f9334

Merge

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.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/RelativePath.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! test/tools/javac/T6725036.java
- test/tools/javac/annotations/typeAnnotations/classfile/ClassfileInspector.java
- test/tools/javac/warnings/Deprecation.lintAll.out
! test/tools/javap/WhitespaceTest.java

Changeset: eb5fc32790eb
Author:    jjg
Date:      2014-12-04 14:57 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/eb5fc32790eb

8066731: javac does not work on exploded image
Reviewed-by: jjg, mchung
Contributed-by: alan.bateman at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JRTIndex.java

Changeset: 57ae4566261e
Author:    katleman
Date:      2014-12-04 12:58 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/57ae4566261e

Added tag jdk9-b41 for changeset f7ce2cfa4cdb

! .hgtags

Changeset: 23a3a063a906
Author:    lana
Date:      2014-12-04 15:22 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/23a3a063a906

Merge

- test/tools/javac/annotations/typeAnnotations/classfile/ClassfileInspector.java
- test/tools/javac/warnings/Deprecation.lintAll.out

Changeset: 3abdd1e50a79
Author:    jjg
Date:      2014-12-04 19:09 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/3abdd1e50a79

8066737: langtools/test/tools/javac/processing/6348193/T6348193.java fails
Reviewed-by: darcy

! test/tools/javac/processing/6348193/T6348193.java

Changeset: 64f03461bb0e
Author:    jlahoda
Date:      2014-12-08 11:50 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/64f03461bb0e

8065753: javac crashing on a html-like file
Summary: Avoiding special-case in error recovery for bad token on position 0.
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/tools/javac/parser/JavacParserTest.java

Changeset: 6e0ebc622bdb
Author:    mcimadamore
Date:      2014-12-08 16:30 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/6e0ebc622bdb

8066889: IntelliJ langtools launcher ought to be Windows friendly
Summary: Fixup file and path separators in project setup stage.
Reviewed-by: jlahoda

! make/build.xml
! make/intellij/workspace.xml

Changeset: 84a76798cff3
Author:    jlahoda
Date:      2014-12-08 18:02 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/84a76798cff3

8061549: Disallow _ as a one-character identifier
Summary: Underscore is no longer a one-charater identifier with -source 9
Reviewed-by: mcimadamore, jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/com/sun/javadoc/testAnchorNames/TestAnchorNames.java
- test/tools/javac/diags/examples/UnderscoreAsIdentifier.java
+ test/tools/javac/diags/examples/UnderscoreAsIdentifierError.java
+ test/tools/javac/diags/examples/UnderscoreAsIdentifierWarning.java
! test/tools/javac/lambda/IdentifierTest.java
- test/tools/javac/lambda/IdentifierTest.out
+ test/tools/javac/lambda/IdentifierTest8.out
+ test/tools/javac/lambda/IdentifierTest9.out
+ test/tools/javac/lambda/UnderscoreAsIdent.java
+ test/tools/javac/lambda/UnderscoreAsIdent8.out
+ test/tools/javac/lambda/UnderscoreAsIdent9.out
- test/tools/javac/lambda/WarnUnderscoreAsIdent.java
- test/tools/javac/lambda/WarnUnderscoreAsIdent.out
! test/tools/javac/processing/model/util/elements/doccomments/TestDocComments.java
! test/tools/javac/tree/TreePosRoundsTest.java
! test/tools/javadoc/6964914/JavacWarning.java
! test/tools/javadoc/6964914/Test.java

Changeset: f1eaade7db81
Author:    jlahoda
Date:      2014-12-08 21:26 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/f1eaade7db81

8066902: JavacParserTest fails on Windows
Summary: Normalizing line endings to '\n'.
Reviewed-by: jjg, ksrini

! test/tools/javac/parser/JavacParserTest.java

Changeset: 6c2c0095eca4
Author:    aeremeev
Date:      2014-12-09 01:06 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/6c2c0095eca4

8064794: Implement negative tests for cyclic dependencies in import statements
Reviewed-by: jlahoda, anazarov

+ test/tools/javac/importscope/NegativeCyclicDependencyTest.java
! test/tools/javac/staticImport/6695838/T6695838.java
+ test/tools/javac/staticImport/6695838/T6695838.out

Changeset: 20e26aa33799
Author:    aeremeev
Date:      2014-12-09 11:45 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/20e26aa33799

8066961: NegativeCyclicDependencyTest.java fails on Windows
Summary: Normalizing line endings to '\n'.
Reviewed-by: jlahoda

! test/tools/javac/importscope/NegativeCyclicDependencyTest.java

Changeset: b32db211cfbc
Author:    mcimadamore
Date:      2014-12-09 16:09 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/b32db211cfbc

8067001: DetectMutableStaticFields fails after modular images push
Summary: Ignore JRTIndex.sharedInstance
Reviewed-by: jlahoda

! test/tools/javac/T8003967/DetectMutableStaticFields.java

Changeset: f114c0889340
Author:    mcimadamore
Date:      2014-12-09 17:40 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/f114c0889340

8067006: Tweak IntelliJ langtools project to show jtreg report directory
Summary: Jtreg test output directory should be allowed to flow into IntelliJ's output
Reviewed-by: jlahoda

! make/intellij/build.xml
! make/intellij/compiler.xml
! make/intellij/copyright/langtools.xml
! make/intellij/misc.xml
! make/intellij/src/idea/LangtoolsIdeaAntLogger.java
! make/intellij/workspace.xml

Changeset: dca7684b37fe
Author:    aeremeev
Date:      2014-12-10 21:45 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/dca7684b37fe

8065360: Implement a test that checks possibilty of class members to be imported
Reviewed-by: jlahoda, anazarov

+ test/tools/javac/importscope/ImportDependenciesTest.java
+ test/tools/javac/importscope/ImportMembersTest.java
! test/tools/javac/importscope/NegativeCyclicDependencyTest.java

Changeset: 6f0fc62de41a
Author:    katleman
Date:      2014-12-11 11:44 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/6f0fc62de41a

Added tag jdk9-b42 for changeset 23a3a063a906

! .hgtags

Changeset: 6a06008aec10
Author:    lana
Date:      2014-12-11 12:26 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/6a06008aec10

Merge

- test/tools/javac/diags/examples/UnderscoreAsIdentifier.java
- test/tools/javac/lambda/IdentifierTest.out
- test/tools/javac/lambda/WarnUnderscoreAsIdent.java
- test/tools/javac/lambda/WarnUnderscoreAsIdent.out

Changeset: 91771a4460a7
Author:    jjg
Date:      2014-12-11 18:20 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/91771a4460a7

8066807: langtools/test/Makefile should use -agentvm not -samevm
Reviewed-by: mcimadamore

! test/Makefile

Changeset: 2b47c42974ff
Author:    jjg
Date:      2014-12-11 18:23 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/2b47c42974ff

8066808: langtools/test/Makefile should not use OS-specific jtreg binary
Reviewed-by: mcimadamore

! test/Makefile



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