1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/SynchronizedClass.java Sat Dec 01 00:00:00 2007 +0000 1.3 @@ -0,0 +1,9 @@ 1.4 +/* @test /nodynamiccopyright/ 1.5 + @bug 4037020 4785453 1.6 + @summary Verify that ClassModifier "synchronized" is not allowed. 1.7 + @author dps 1.8 + 1.9 + @run shell SynchronizedClass.sh 1.10 +*/ 1.11 + 1.12 +public synchronized class SynchronizedClass { } // ERROR