jdk-24/langtools/test/tools/javac/6979683/TestCast6979683_BAD36.java.errlog
John R Rose ca3dbff3f8 6979683: inconsistent interaction of reference cast with box/unbox conversions leaves out a useful case
Allow casts which narrow and then unbox.

Reviewed-by: mcimadamore
2010-09-01 03:19:16 -07:00

3 lines
152 B
Plaintext

TestCast6979683_BAD36.java:36:58: compiler.err.prob.found.req: (compiler.misc.incompatible.types), java.lang.Comparable<java.lang.Integer>, int
1 error