langtools/test/tools/javac/8138840/T8138840.java
author ysuenaga
Wed, 30 Mar 2016 21:05:13 +0900
changeset 37218 c7241bc368bf
parent 33018 9790ed482dd0
permissions -rw-r--r--
8151674: STW phases at Concurrent GC should count in PerfCounter Reviewed-by: jmasa, sla, tschatzl

/*
 * @test /nodynamiccopyright/
 * @bug 8138840 8139243 8139249
 * @summary Compiler crashes when compiling bitwise operations with illegal operand types
 * @compile/fail/ref=T8138840.out -XDrawDiagnostics T8138840.java
 */

class T8138840 {
    void test(int x, double d) {
        Object o = x & d;
    }
}