langtools/test/tools/javac/SynchronizedClass.java
author trims
Fri, 02 Jul 2010 01:37:36 -0700
changeset 5910 ca3d85421cbb
parent 863 3113c955a388
child 6150 d055fa8ced62
permissions -rw-r--r--
6966252: Bump the HS19 build number to 04 Summary: Update the HS19 build number to 04 Reviewed-by: jcoomes

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

   @compile/fail/ref=SynchronizedClass.out -XDrawDiagnostics -XDstdout SynchronizedClass.java
*/

public synchronized class SynchronizedClass { } // ERROR