hg: valhalla/valhalla/langtools: Compiler should give error when regular type-variable extends 'any' type-variable.

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Aug 22 12:41:43 UTC 2014


Changeset: 6619fd76839d
Author:    mcimadamore
Date:      2014-08-22 13:37 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6619fd76839d

Compiler should give error when regular type-variable extends 'any' type-variable.

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/diags/examples/TypeVarMayNotDeclareAnyTypeVarBound.java
+ test/tools/javac/valhalla/typespec/AnyBounds.java
+ test/tools/javac/valhalla/typespec/AnyBounds.out



More information about the valhalla-dev mailing list