hg: jdk8u/jdk8u/langtools: 9 new changesets

sean.coffey at oracle.com sean.coffey at oracle.com
Mon Jun 23 09:50:53 UTC 2014


Changeset: 7e97c65c373c
Author:    pgovereau
Date:      2014-06-18 12:30 -0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/7e97c65c373c

8027886: javac allows illegal receiver parameters
8029042: Receiver parameter not supported on local class constructor
Reviewed-by: jfranck, jlahoda

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
+ test/tools/javac/annotations/FinalReceiverTest.java
+ test/tools/javac/annotations/FinalReceiverTest.out
+ test/tools/javac/annotations/LocalInnerReceiverTest.java
! test/tools/javac/annotations/typeAnnotations/newlocations/Receivers.java

Changeset: 76b61848c9a4
Author:    pgovereau
Date:      2014-06-18 12:06 -0400
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/76b61848c9a4

8038975: Access control in enhanced for
Reviewed-by: vromero, jlahoda

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/share/classes/com/sun/tools/javac/comp/Enter.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ src/share/classes/com/sun/tools/javac/comp/TypeEnvs.java
+ test/tools/javac/T8038975/AccessTest.java
+ test/tools/javac/T8038975/a/A.java
+ test/tools/javac/T8038975/a/B.java

Changeset: 829f01e7f732
Author:    mcimadamore
Date:      2014-06-19 12:22 +0100
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/829f01e7f732

8043253: Slow javac compile times in JDK 8
Summary: Enable on-demand diagnostic source position completion
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java

Changeset: a3ad6e2ede44
Author:    jlahoda
Date:      2014-06-18 10:44 +0200
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/a3ad6e2ede44

8046916: Type parameter annotations don't work with multiple type parameters
Summary: When reading type variable's annotations out of the owner's type annotations, use the type variable's index in owner to exclude annotations belonging to other type variables.
Reviewed-by: jfranck, emc

! src/share/classes/com/sun/tools/javac/code/Symbol.java
! test/tools/javac/processing/model/element/TestTypeParameterAnnotations.java

Changeset: ce1d9dd2e9eb
Author:    vromero
Date:      2014-06-19 15:39 +0100
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/ce1d9dd2e9eb

8038182: javac crash with FunctionDescriptorLookupError for invalid functional interface
Reviewed-by: mcimadamore
Contributed-by: maurizio.cimadamore at oracle.com, vicente.romero at oracle.com

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/lambda/T8038182/CrashFunctionDescriptorExceptionTest.java
+ test/tools/javac/lambda/T8038182/CrashFunctionDescriptorExceptionTest.out

Changeset: 94ea21ecfe2d
Author:    vromero
Date:      2014-06-19 23:52 +0100
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/94ea21ecfe2d

8042759: Lambda returning implicitly-typed lambdas considered pertinent to applicability
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
+ test/tools/javac/lambda/T8042759/ImplicitLambdaConsideredForApplicabilityTest.java
+ test/tools/javac/lambda/T8042759/ImplicitLambdaConsideredForApplicabilityTest.out

Changeset: f4381f9541e6
Author:    dlsmith
Date:      2014-06-20 11:42 -0600
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/f4381f9541e6

8047407: Add test for JDK-8037385
Reviewed-by: mcimadamore

+ test/tools/javac/defaultMethods/static/StaticInvoke.java
+ test/tools/javac/defaultMethods/static/StaticInvoke6.out
+ test/tools/javac/defaultMethods/static/StaticInvoke7.out

Changeset: 37c7dbe8efee
Author:    dlsmith
Date:      2014-06-20 10:56 -0600
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/37c7dbe8efee

8034147: javac crashes with a NullPointerException during bounds checking
Summary: Types.supertype should return Type.noType rather than null
Reviewed-by: vromero, mcimadamore

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/wildcards/T8034147.java

Changeset: e92effa22ece
Author:    coffeys
Date:      2014-06-23 00:01 +0100
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/e92effa22ece

Merge




More information about the jdk8u-changes mailing list