hg: jdk9/client/langtools: 14 new changesets
philip.race at oracle.com
philip.race at oracle.com
Mon Jan 12 21:05:54 UTC 2015
Changeset: 3bdbc3b8aa14
Author: vromero
Date: 2015-01-05 17:35 -0800
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/3bdbc3b8aa14
8064857: javac generates LVT entry with length 0 for local variable
Reviewed-by: mcimadamore, jjg
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/LVTRanges.java
! test/tools/javac/flow/LVTHarness.java
! test/tools/javac/flow/tests/TestCaseFor.java
! test/tools/javac/flow/tests/TestCaseForEach.java
! test/tools/javac/flow/tests/TestCaseIfElse.java
! test/tools/javac/flow/tests/TestCaseSwitch.java
! test/tools/javac/flow/tests/TestCaseTry.java
! test/tools/javac/flow/tests/TestCaseWhile.java
Changeset: 92ee16cb8a0c
Author: mcimadamore
Date: 2015-01-06 15:46 +0000
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/92ee16cb8a0c
8067883: Javac misses some opportunities for diagnostic simplification
Summary: Javac always report full inference diagnostic, even when message does not mention inference variables.
Reviewed-by: jlahoda
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/Diagnostics/compressed/8067883/T8067883.java
+ test/tools/javac/Diagnostics/compressed/8067883/T8067883a.out
+ test/tools/javac/Diagnostics/compressed/8067883/T8067883b.out
Changeset: 70d213c84585
Author: jjg
Date: 2015-01-06 14:51 -0800
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/70d213c84585
8059977: StandardJavaFileManager should support java.nio.file.Path
Reviewed-by: jlahoda
+ src/java.compiler/share/classes/javax/tools/FileManagerUtils.java
! src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java
! src/java.compiler/share/classes/javax/tools/ToolProvider.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
+ test/tools/javac/api/file/MyStandardJavaFileManager.java
+ test/tools/javac/api/file/SJFM_AsPath.java
+ test/tools/javac/api/file/SJFM_GetFileObjects.java
+ test/tools/javac/api/file/SJFM_IsSameFile.java
+ test/tools/javac/api/file/SJFM_Locations.java
+ test/tools/javac/api/file/SJFM_TestBase.java
Changeset: 0fbde6c61674
Author: darcy
Date: 2015-01-07 17:06 -0800
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/0fbde6c61674
8068639: Make certain annotation classfile warnings opt-in
Reviewed-by: jjg
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! test/tools/javac/annotations/6214965/T6214965.java
! test/tools/javac/annotations/6365854/T6365854.java
Changeset: aa568700edd1
Author: mcimadamore
Date: 2015-01-08 14:43 +0000
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/aa568700edd1
8058542: Devise scheme for better diagnostic creation
Summary: Add support for generating (at build-time) an enum-like class containing all javac diagnostics, which allows for safe diagnostic creation.
Reviewed-by: jlahoda, jjg, vromero, erikj, jfranck
! make/Tools.gmk
! make/build.properties
! make/build.xml
! make/gensrc/Gensrc-jdk.compiler.gmk
! make/gensrc/GensrcCommon.gmk
! make/intellij/build.xml
! make/intellij/compiler.xml
! make/intellij/langtools.iml
! make/intellij/misc.xml
! make/netbeans/langtools/nbproject/project.xml
+ make/tools/anttasks/PropertiesParserTask.java
+ make/tools/propertiesparser/PropertiesParser.java
+ make/tools/propertiesparser/gen/ClassGenerator.java
+ make/tools/propertiesparser/parser/Message.java
+ make/tools/propertiesparser/parser/MessageFile.java
+ make/tools/propertiesparser/parser/MessageInfo.java
+ make/tools/propertiesparser/parser/MessageLine.java
+ make/tools/propertiesparser/parser/MessageType.java
+ make/tools/propertiesparser/resources/templates.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractLog.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java
! test/tools/javac/Diagnostics/6769027/T6769027.java
! test/tools/javac/diags/MessageFile.java
Changeset: 7b2e1f42a6ad
Author: sogoel
Date: 2015-01-08 22:01 -0800
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/7b2e1f42a6ad
8058373: Group 10a: golden files for tests in tools/javac dir
Reviewed-by: jjg, darcy
! test/tools/javac/SerialWarn.java
+ test/tools/javac/SerialWarn.out
! test/tools/javac/T4994049/DeprecatedYES.java
+ test/tools/javac/T4994049/DeprecatedYES.out
! test/tools/javac/T6231847.java
! test/tools/javac/T6231847.out
! test/tools/javac/overrridecrash/B.java
+ test/tools/javac/overrridecrash/B.out
! test/tools/javac/processing/6365040/T6365040.java
+ test/tools/javac/processing/6365040/T6365040.out
! test/tools/javac/processing/6511613/clss41701.java
+ test/tools/javac/processing/6511613/clss41701.out
! test/tools/javac/processing/errors/TestFatalityOfParseErrors.java
+ test/tools/javac/processing/errors/TestFatalityOfParseErrors.out
! test/tools/javac/processing/messager/MessagerBasics.java
+ test/tools/javac/processing/messager/MessagerBasics.out
! test/tools/javac/staticQualifiedNew/StaticQualifiedNew.java
+ test/tools/javac/staticQualifiedNew/StaticQualifiedNew.out
Changeset: 6a927a9114c1
Author: mcimadamore
Date: 2015-01-09 15:48 +0000
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/6a927a9114c1
8066871: java.lang.VerifyError: Bad local variable type - local final String
Summary: baseType() erroneously called on MethodResultInfo causes lack of constant type info
Reviewed-by: jlahoda, mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/conditional/ConditionalWithFinalStrings.java
Changeset: 6d3e36e420df
Author: mcimadamore
Date: 2015-01-09 15:49 +0000
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/6d3e36e420df
8043741: VerifyError due to missing checkcast
Summary: Proto-type is not set correctly for NULLCHK synthetic trees
Reviewed-by: mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/generics/MissingCast2.java
Changeset: 7dfe06818a80
Author: mcimadamore
Date: 2015-01-09 15:50 +0000
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/7dfe06818a80
8067429: java.lang.VerifyError: Inconsistent stackmap frames at branch target
Summary: bitset for alive variables contains info about variables out of range
Reviewed-by: mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/BranchToFewerDefines.java
Changeset: 38f7c632df2b
Author: mcimadamore
Date: 2015-01-09 15:51 +0000
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/38f7c632df2b
8067914: Redundant type cast nodes in AST (follow up from JDK-8043741)
Summary: Workaround for redundant (but harmless) synthetic cast generated in TransTypes
Reviewed-by: mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/tree/8067914/E.out
+ test/tools/javac/tree/8067914/NukeExtraCast.java
+ test/tools/javac/tree/8067914/T8067914.java
Changeset: 3be9980b55c3
Author: jjg
Date: 2015-01-09 18:03 -0800
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/3be9980b55c3
8068759: ConstFoldTest fails on Windows
Reviewed-by: ksrini
! test/tools/javac/ConstFoldTest.java
Changeset: 8d887da488cd
Author: darcy
Date: 2015-01-12 09:19 -0800
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/8d887da488cd
8006469: Cleanup reflective access of java.lang.annotation.Repeatable
Reviewed-by: jfranck
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/AnnoConstruct.java
Changeset: c65afe55d627
Author: katleman
Date: 2015-01-08 12:08 -0800
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/c65afe55d627
Added tag jdk9-b45 for changeset 73bbdcf236b2
! .hgtags
Changeset: e272d9be5f90
Author: lana
Date: 2015-01-12 12:23 -0800
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/e272d9be5f90
Merge
- src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/LVTRanges.java
More information about the jdk9-client-changes
mailing list