hg: jdk8u/jdk8u/langtools: 12 new changesets
lana.steuck at oracle.com
lana.steuck at oracle.com
Mon Dec 1 19:24:17 UTC 2014
Changeset: f7f3f96999ba
Author: jlahoda
Date: 2014-11-14 20:27 +0100
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/f7f3f96999ba
8062747: Compiler error when anonymous class uses method with parametrized exception
Summary: When inferring lambda's thrown types, avoid tracking variables that are not under the lambda to avoid crashes.
Reviewed-by: vromero
! src/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/flow/T8062747.java
Changeset: 10e9228e77b0
Author: rfield
Date: 2014-11-14 21:10 -0800
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/10e9228e77b0
8048121: javac complex method references: revamp and simplify
8037404: javac NPE or VerifyError for code with constructor reference of inner class
8047341: lambda reference to inner class in base class causes LambdaConversionException
8044748: JVM cannot access constructor though ::new reference although can call it directly
8044737: Lambda: NPE while obtaining method reference through lambda expression
8038776: VerifyError when running successfully compiled java class
Reviewed-by: dlsmith, vromero
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! test/tools/javac/T8019486/WrongLNTForLambdaTest.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerBootstrap.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaNPE1.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaNPE2.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaVerify1.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaVerify2.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaVerify2simple.java
+ test/tools/javac/lambda/methodReference/MethodRefQualifier1.java
+ test/tools/javac/lambda/methodReference/MethodRefSingleRefEvalBridge.java
+ test/tools/javac/lambda/methodReference/MethodRefToInner.java
+ test/tools/javac/lambda/methodReference/MethodReferenceComplexNullCheckTest.java
Changeset: da01c2706e5d
Author: mfang
Date: 2014-11-18 14:51 -0800
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/da01c2706e5d
8055798: Japanese translation for a warning from javac looks incorrect.
Reviewed-by: peytoia
! src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties
! src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties
Changeset: edb89e5d7ace
Author: lana
Date: 2014-11-20 11:27 -0800
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/edb89e5d7ace
Merge
Changeset: f4df97bf5392
Author: vromero
Date: 2014-11-24 14:55 -0800
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/f4df97bf5392
8059921: Missing compile error in Java 8 mode for Interface.super.field access
Reviewed-by: mcimadamore, jlahoda
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/T8059921/ForbidAccessToFieldUsingSuperTest.java
+ test/tools/javac/T8059921/ForbidAccessToFieldUsingSuperTest.out
Changeset: 9e80ab1dad9e
Author: vromero
Date: 2014-11-20 14:05 -0800
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/9e80ab1dad9e
8063052: Inference chokes on wildcard derived from method reference
Reviewed-by: mcimadamore
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/lambda/methodReference/MethodRef8.java
Changeset: cb7e7928902f
Author: emc
Date: 2014-11-24 12:49 -0500
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/cb7e7928902f
8029012: parameter_index for type annotation not updated after outer.this added
Summary: Fix javac's handling of type annotations when synthetic parameters are added
Reviewed-by: jjg, mcimadamore
! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/annotations/typeAnnotations/classfile/ClassfileInspector.java
+ test/tools/javac/annotations/typeAnnotations/classfile/SyntheticParameters.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/Constructors.java
Changeset: 272300c8b557
Author: emc
Date: 2014-11-25 08:30 -0500
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/272300c8b557
8065132: Parameter annotations not updated when synthetic parameters are prepended
Summary: Cause javac to add synthetic parameters to Runtime[In]VisibleParameterAnnotations attributes
Reviewed-by: jjg, jfranck
! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
+ test/lib/annotations/annotations/classfile/ClassfileInspector.java
+ test/tools/javac/annotations/SyntheticParameters.java
- test/tools/javac/annotations/typeAnnotations/classfile/ClassfileInspector.java
! test/tools/javac/annotations/typeAnnotations/classfile/SyntheticParameters.java
Changeset: b5c8adb2206a
Author: rfield
Date: 2014-11-25 13:37 -0800
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/b5c8adb2206a
8058112: Invalid BootstrapMethod for constructor/method reference
Summary: Bridge method references with functional interface method parameters of intersection type
Reviewed-by: vromero, dlsmith
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/methodReferenceExecution/MethodReferenceIntersection1.java
+ test/tools/javac/lambda/methodReferenceExecution/MethodReferenceIntersection2.java
+ test/tools/javac/lambda/methodReferenceExecution/MethodReferenceIntersection3.java
Changeset: 4d2222373842
Author: jfranck
Date: 2014-11-26 12:16 +0100
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/4d2222373842
8062359: javac Attr crashes with NPE in TypeAnnotationsValidator visitNewClass
Reviewed-by: jlahoda, vromero
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/8062359/UnresolvableClassNPEInAttrTest.java
+ test/tools/javac/8062359/UnresolvableClassNPEInAttrTest.out
Changeset: 4721674bb051
Author: lana
Date: 2014-11-26 13:59 -0800
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/4721674bb051
Merge
Changeset: a12a9932f649
Author: jlahoda
Date: 2014-09-22 14:55 +0200
URL: http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/a12a9932f649
8057794: Compiler Error when obtaining .class property
Summary: Ensuring a non-null type and sym for illegal T.class to prevent downstream errors.
Reviewed-by: mcimadamore
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/lambda/T8057794.java
+ test/tools/javac/lambda/T8057794.out
More information about the jdk8u-changes
mailing list