test/tools/javac/SynchronizedClass.java@5ddecb91d843
test/tools/javac/SynchronizedClass.java
Tue, 12 Mar 2013 16:02:43 +0000
- author
- mcimadamore
- date
- Tue, 12 Mar 2013 16:02:43 +0000
- changeset 1628
- 5ddecb91d843
- parent 611
-
4172cfff05f0
- child 2525
-
2eb010b6cb22
- permissions
- -rw-r--r--
8009545: Graph inference: dependencies between inference variables should be set during incorporation
Summary: Move all transitivity checks into the incorporation round
Reviewed-by: jjg
1 /* @test /nodynamiccopyright/
3 @summary Verify that ClassModifier "synchronized" is not allowed.
6 @compile/fail/ref=SynchronizedClass.out -XDrawDiagnostics SynchronizedClass.java
9 public synchronized class SynchronizedClass { } // ERROR