changeset 5001 | 71ed0cc22974 |
parent 4142 | bd950c8f4fb3 |
child 5002 | 12a9e8562200 |
--- a/langtools/src/share/classes/com/sun/tools/javac/comp/Attr.java Mon Feb 22 21:37:13 2010 +0000 +++ b/langtools/src/share/classes/com/sun/tools/javac/comp/Attr.java Tue Feb 23 18:43:02 2010 -0800 @@ -2636,6 +2636,7 @@ if (tree.bounds.tail.nonEmpty()) { log.error(tree.bounds.tail.head.pos(), "type.var.may.not.be.followed.by.other.bounds"); + log.unrecoverableError = true; tree.bounds = List.of(tree.bounds.head); a.bound = bs.head; }