Create Clinit if you create a static field and it doesn't yet exist

This commit is contained in:
Roel Spilker committed 2010-11-06 16:41:17 +01:00
1 parent a48c335c7d
commit 0c7b29f8e7
10 files changed
+57

No files matched your search

@@ -19,6 +19,8 @@ class SynchronizedPlain1 {
}
class SynchronizedPlain2 {
private static final @java.lang.SuppressWarnings("all") java.lang.Object $LOCK = new java.lang.Object[0];
<clinit>() {
}
SynchronizedPlain2() {
super();
}