mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
Initial load
This commit is contained in:
parent
686d76f772
commit
f57b87e8f6
2973 changed files with 295817 additions and 0 deletions
9
langtools/test/tools/javac/SynchronizedClass.java
Normal file
9
langtools/test/tools/javac/SynchronizedClass.java
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue