langtools/test/tools/javac/SynchronizedClass.java
changeset 10 06bc494ca11e
child 863 3113c955a388
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/SynchronizedClass.java	Sat Dec 01 00:00:00 2007 +0000
@@ -0,0 +1,9 @@
+/* @test  /nodynamiccopyright/
+   @bug 4037020 4785453
+   @summary Verify that ClassModifier "synchronized" is not allowed.
+   @author dps
+
+   @run shell SynchronizedClass.sh
+*/
+
+public synchronized class SynchronizedClass { } // ERROR