hg: lambda/lambda/langtools: Exception transparency fixes:

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon Feb 6 05:45:48 PST 2012

Changeset: cf479ef26252
Author:    mcimadamore
Date:      2012-02-06 13:45 +0000
URL:       http://hg.openjdk.java.net/lambda/lambda/langtools/rev/cf479ef26252

Exception transparency fixes:
*) Compiler complains when union types containing type-parameters are used outside of a catch block
*) Missing erasure in generated code causes assertion errors when lambda contains catch clause with throws type-parameter

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/LambdaToInnerClass.java
+ test/tools/javac/transparency/Neg10.java
+ test/tools/javac/transparency/Neg10.out
+ test/tools/javac/transparency/Pos05.java

More information about the lambda-dev mailing list