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

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Fri Jan 16 07:39:12 UTC 2015


Changeset: 7b2e1f42a6ad
Author:    sogoel
Date:      2015-01-08 22:01 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/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/hs-emb/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/hs-emb/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/hs-emb/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/hs-emb/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/hs-emb/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/hs-emb/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/hs-emb/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/hs-emb/langtools/rev/e272d9be5f90

Merge

- src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/LVTRanges.java

Changeset: 143e819d5ddc
Author:    jlahoda
Date:      2015-01-13 10:17 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/143e819d5ddc

8062358: ClassCastException in TransTypes.visitApply
Summary: Incorrect handling of subtype relations involving lower bounded wildcard causes ClassCastException
Reviewed-by: vromero, dlsmith
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/LowerBoundBottomTypeTest.java

Changeset: 441711fd360d
Author:    jlahoda
Date:      2015-01-13 10:25 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/441711fd360d

8037546: javac -parameters does not emit parameter names for lambda expressions
Summary: MethodParameters attribute is missing for synthetic methods encoding lambda expressions.
Reviewed-by: rfield, mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! test/tools/javac/MethodParameters/ClassFileVisitor.java
! test/tools/javac/MethodParameters/LambdaTest.java
! test/tools/javac/MethodParameters/LambdaTest.out
! test/tools/javac/MethodParameters/ReflectionVisitor.java

Changeset: 4359df35c893
Author:    jlahoda
Date:      2015-01-13 10:32 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/4359df35c893

8068254: Method reference uses wrong qualifying type
Summary: Generated code fails with IllegalAccessError due to compiler's mishandling of packageprivate classes in method reference expressions.
Reviewed-by: rfield, mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/methodReferenceExecution/MethodReferencePackagePrivateQualifier.java
+ test/tools/javac/lambda/methodReferenceExecution/pkg/B.java

Changeset: 014b653eafa9
Author:    jlahoda
Date:      2015-01-13 10:36 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/014b653eafa9

8027888: javac wrongly allows annotations in array-typed class literals
Summary: Compiler incorrectly accepts type annotations on array-typed class literals.
Reviewed-by: jlahoda, jfranck
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/tools/javac/annotations/typeAnnotations/failures/AnnotatedClassExpr.java
! test/tools/javac/annotations/typeAnnotations/failures/AnnotatedClassExpr.out

Changeset: 3e11383862ce
Author:    jlahoda
Date:      2015-01-13 19:13 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/3e11383862ce

8066843: Messager.printMessage cannot print multiple errors for same source position
Summary: Using a DiagnosticFlag to mark diagnostics that should be always printed even if multiple of them have the same source position.
Reviewed-by: darcy, jjg, mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/doclint/resources/doclint.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacMessager.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/doclint/AnchorTest.out
! test/tools/doclint/AnchorTest2.out
! test/tools/doclint/HtmlTagsTest.out
! test/tools/doclint/anchorTests/p/Test.javac.out
! test/tools/doclint/anchorTests/p/Test.out
! test/tools/doclint/anchorTests/p/package-info.javac.out
! test/tools/doclint/anchorTests/p/package-info.out
! test/tools/doclint/tidy/AnchorAlreadyDefined.out
! test/tools/javac/6304921/TestLog.java
+ test/tools/javac/processing/TestMultipleErrors.java
+ test/tools/javac/processing/TestMultipleErrors.out

Changeset: c7a7b3fb997e
Author:    mcimadamore
Date:      2015-01-15 13:58 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/c7a7b3fb997e

8068995: Cleanup method reference lookup code
Summary: Simplify method reference code lookup and generate better/more uniform diagnostics
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Kinds.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/List.java
+ test/tools/javac/diags/examples/BadInstanceMethodInUnboundLookup.java
+ test/tools/javac/diags/examples/BadStaticMethodInBoundLookup.java
+ test/tools/javac/diags/examples/BadStaticMethodInUnboundLookup.java
- test/tools/javac/diags/examples/NonStaticCantBeRefFragment.java
- test/tools/javac/diags/examples/StaticBoundMref.java
- test/tools/javac/diags/examples/StaticMethodInUnboundLookup.java
! test/tools/javac/lambda/MethodReference22.out
! test/tools/javac/lambda/MethodReference28.out
! test/tools/javac/lambda/MethodReference51.out
! test/tools/javac/lambda/MethodReference55.out
! test/tools/javac/lambda/MethodReference68.out
! test/tools/javac/lambda/MethodReference73.out
! test/tools/javac/lambda/TargetType60.out

Changeset: 59a7535b9ff7
Author:    mcimadamore
Date:      2015-01-15 16:24 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/59a7535b9ff7

8069069: Build failure because of dependency on generated file
Summary: Make build spuriously fails to build property classes
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java



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