test/tools/javac/SynchronizedClass.java@37295244f534
test/tools/javac/SynchronizedClass.java
Tue, 21 May 2013 13:50:56 +0100
- author
- vromero
- date
- Tue, 21 May 2013 13:50:56 +0100
- changeset 1774
- 37295244f534
- parent 611
-
4172cfff05f0
- child 2525
-
2eb010b6cb22
- permissions
- -rw-r--r--
8005207: test has 2 @bug tags
Reviewed-by: mcimadamore
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