hg: jdk8/tl/langtools: 2 new changesets

jan.lahoda at oracle.com jan.lahoda at oracle.com
Tue Nov 26 06:40:55 PST 2013


Changeset: 8acb838c9b79
Author:    jlahoda
Date:      2013-11-26 15:27 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/8acb838c9b79

8026374: javac accepts void as a method parameter
Summary: Changing Check.validate to reject void types.
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/declaration/method/MethodVoidParameter.java
+ test/tools/javac/declaration/method/MethodVoidParameter.out

Changeset: 756ae3791c45
Author:    jlahoda
Date:      2013-11-26 15:33 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/756ae3791c45

8027789: Access method for Outer.super.m() references indirect superclass
Summary: Internally convert the qualified super access to an equivalent of an unqualified super access inside the access method.
Reviewed-by: vromero, jjg

! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/expression/_super/NonDirectSuper/Base.java
+ test/tools/javac/expression/_super/NonDirectSuper/NonDirectSuper.java
+ test/tools/javac/expression/_super/NonDirectSuper/Target11.java



More information about the serviceability-dev mailing list