10
|
1 |
/* @test /nodynamiccopyright/
|
|
2 |
@bug 4037020 4785453
|
|
3 |
@summary Verify that ClassModifier "synchronized" is not allowed.
|
|
4 |
@author dps
|
|
5 |
|
6150
|
6 |
@compile/fail/ref=SynchronizedClass.out -XDrawDiagnostics SynchronizedClass.java
|
10
|
7 |
*/
|
|
8 |
|
|
9 |
public synchronized class SynchronizedClass { } // ERROR
|