mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-27 17:54:40 +02:00
14 lines
213 B
Java
14 lines
213 B
Java
![]() |
// Exploring synchronization
|
||
|
|
||
|
public aspect Parsing2 {
|
||
|
|
||
|
before(): unlock() { }
|
||
|
|
||
|
public static void main(String[] args) {
|
||
|
staticM();
|
||
|
}
|
||
|
|
||
|
public static void staticM() {
|
||
|
// synchronized (String.class) {}
|
||
|
}
|
||
|
}
|