test/tools/javac/6491592/T6491592.java

changeset 0
959103a6100f
child 2525
2eb010b6cb22
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/javac/6491592/T6491592.java	Wed Apr 27 01:34:52 2016 +0800
     1.3 @@ -0,0 +1,14 @@
     1.4 +/*
     1.5 + * @test /nodynamiccopyright/
     1.6 + * @bug     6491592
     1.7 + * @summary Compiler crashes on assignment operator
     1.8 + * @author  alex.buckley@...
     1.9 + * @compile/fail/ref=T6491592.out -XDrawDiagnostics T6491592.java
    1.10 + */
    1.11 +
    1.12 +public class T6491592 {
    1.13 +    public static void main(String... args) {
    1.14 +        Object o = null;
    1.15 +        o += null;
    1.16 +    }
    1.17 +}

mercurial