hg: lambda/lambda/langtools: Enhancement: special case inference to infer RuntimeException when throws type-variable has no constraints

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Wed Feb 6 05:56:38 PST 2013


Changeset: a6b0a257f22a
Author:    mcimadamore
Date:      2013-02-06 13:56 +0000
URL:       http://hg.openjdk.java.net/lambda/lambda/langtools/rev/a6b0a257f22a

Enhancement: special case inference to infer RuntimeException when throws type-variable has no constraints

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! test/tools/javac/generics/6723444/T6723444.java
- test/tools/javac/generics/6723444/T6723444.out
+ test/tools/javac/generics/6723444/T6723444_1.out
+ test/tools/javac/generics/6723444/T6723444_2.out
! test/tools/javac/generics/7015430/T7015430.java
- test/tools/javac/generics/7015430/T7015430.out
+ test/tools/javac/generics/7015430/T7015430_1.out
+ test/tools/javac/generics/7015430/T7015430_2.out
+ test/tools/javac/lambda/TargetType63.java
+ test/tools/javac/lambda/TargetType63.out



More information about the lambda-dev mailing list