T8138840.java revision 3053:79e637c1e083
1/* 2 * @test /nodynamiccopyright/ 3 * @bug 8138840 8139243 8139249 4 * @summary Compiler crashes when compiling bitwise operations with illegal operand types 5 * @compile/fail/ref=T8138840.out -XDrawDiagnostics T8138840.java 6 */ 7 8class T8138840 { 9 void test(int x, double d) { 10 Object o = x & d; 11 } 12} 13