test/tools/javac/SynchronizedClass.java@807ca8ffbeb4
test/tools/javac/SynchronizedClass.java
Tue, 10 Apr 2012 08:15:25 -0700
- author
- ohair
- date
- Tue, 10 Apr 2012 08:15:25 -0700
- changeset 1244
- 807ca8ffbeb4
- parent 611
-
4172cfff05f0
- child 2525
-
2eb010b6cb22
- permissions
- -rw-r--r--
7074397: Build infrastructure changes (makefile re-write)
Summary: New makefiles transition, old and new living side by side for now.
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
Contributed-by: ohrstrom <fredrik.ohrstrom@oracle.com>, erikj <erik.joelsson@oracle.com>, ihse <magnus.ihse.bursie@oracle.com>, tgranat <torbjorn.granat@oracle.com>, ykantser <yekaterina.kantserova@oracle.com>
1 /* @test /nodynamiccopyright/
3 @summary Verify that ClassModifier "synchronized" is not allowed.
6 @compile/fail/ref=SynchronizedClass.out -XDrawDiagnostics SynchronizedClass.java
9 public synchronized class SynchronizedClass { } // ERROR