blob: a1ee5fdfd08894ee2d27cb11be972ad885ff4ef1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Exploring synchronization
public aspect Parsing1 {
before(): lock() { }
public static void main(String[] args) {
staticM();
}
public static void staticM() {
// synchronized (String.class) {}
}
}
|