langtools/test/tools/javac/SynchronizedClass.java
author never
Mon, 31 Mar 2008 16:22:52 -0700
changeset 254 717d75d80a30
parent 10 06bc494ca11e
child 863 3113c955a388
permissions -rw-r--r--
6636352: Unit tests for supplementary character support fail with -XX:+AggressiveOpts Summary: incorrect encoding Reviewed-by: kvn, rasbold, sgoldman, jrose

/* @test  /nodynamiccopyright/
   @bug 4037020 4785453
   @summary Verify that ClassModifier "synchronized" is not allowed.
   @author dps

   @run shell SynchronizedClass.sh
*/

public synchronized class SynchronizedClass { } // ERROR