test/tools/javac/SynchronizedClass.java@3fef0cae83b3
test/tools/javac/SynchronizedClass.java
Thu, 21 Feb 2013 15:27:05 +0000
- author
- mcimadamore
- date
- Thu, 21 Feb 2013 15:27:05 +0000
- changeset 1600
- 3fef0cae83b3
- parent 611
-
4172cfff05f0
- child 2525
-
2eb010b6cb22
- permissions
- -rw-r--r--
8008444: Inherited generic functional descriptors are merged incorrectly
Summary: Missing call to Types.createMethodWithThrownTypes
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