test/tools/javac/7102515/T7102515.java

Thu, 07 Mar 2013 10:04:28 +0000

author
vromero
date
Thu, 07 Mar 2013 10:04:28 +0000
changeset 1620
3806171b52d8
parent 0
959103a6100f
permissions
-rw-r--r--

8009138: javac, equals-hashCode warning tuning
Reviewed-by: mcimadamore

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 7102515
     4  * @summary javac running very very long and not returning
     5  * @compile/fail/ref=T7102515.out -XDrawDiagnostics T7102515.java
     6  */
     8 class T7102515 {
     9     T7102515 badBinary = new T7102515() + new T7102515();
    10     Object badUnary = badBinary++;
    11 }

mercurial