langtools/test/tools/javac/SynchronizedClass.java
changeset 10 06bc494ca11e
child 863 3113c955a388
equal deleted inserted replaced
0:fd16c54261b3 10:06bc494ca11e
       
     1 /* @test  /nodynamiccopyright/
       
     2    @bug 4037020 4785453
       
     3    @summary Verify that ClassModifier "synchronized" is not allowed.
       
     4    @author dps
       
     5 
       
     6    @run shell SynchronizedClass.sh
       
     7 */
       
     8 
       
     9 public synchronized class SynchronizedClass { } // ERROR