diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-11-06 16:41:17 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2010-11-06 16:41:17 +0100 |
commit | 0c7b29f8e7009d1433e2386f710c78801f119ebb (patch) | |
tree | 00c83f4ea3113cb07f4ce84cfd957dbc1f66124c /test/transform/resource/after-ecj/SynchronizedPlain.java | |
parent | a48c335c7d8f1b361b134110219af8b0d3610101 (diff) | |
download | lombok-0c7b29f8e7009d1433e2386f710c78801f119ebb.tar.gz lombok-0c7b29f8e7009d1433e2386f710c78801f119ebb.tar.bz2 lombok-0c7b29f8e7009d1433e2386f710c78801f119ebb.zip |
Create Clinit if you create a static field and it doesn't yet exist
Diffstat (limited to 'test/transform/resource/after-ecj/SynchronizedPlain.java')
-rw-r--r-- | test/transform/resource/after-ecj/SynchronizedPlain.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/SynchronizedPlain.java b/test/transform/resource/after-ecj/SynchronizedPlain.java index b9f032c5..8e5b6297 100644 --- a/test/transform/resource/after-ecj/SynchronizedPlain.java +++ b/test/transform/resource/after-ecj/SynchronizedPlain.java @@ -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(); } |