test/tools/javac/SynchronizedClass.java@3ae62331a56f
test/tools/javac/SynchronizedClass.java
Tue, 24 Sep 2013 13:48:12 -0700
- author
- jjg
- date
- Tue, 24 Sep 2013 13:48:12 -0700
- changeset 2054
- 3ae62331a56f
- parent 611
-
4172cfff05f0
- child 2525
-
2eb010b6cb22
- permissions
- -rw-r--r--
8002154: [doclint] doclint should check for issues which are errors in javadoc
Reviewed-by: bpatel
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