diff options
Diffstat (limited to 'tests/features152/synchronization/Parsing1.java')
-rw-r--r-- | tests/features152/synchronization/Parsing1.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/features152/synchronization/Parsing1.java b/tests/features152/synchronization/Parsing1.java new file mode 100644 index 000000000..a1ee5fdfd --- /dev/null +++ b/tests/features152/synchronization/Parsing1.java @@ -0,0 +1,14 @@ +// Exploring synchronization + +public aspect Parsing1 { + + before(): lock() { } + + public static void main(String[] args) { + staticM(); + } + + public static void staticM() { +// synchronized (String.class) {} + } +}
\ No newline at end of file |