Bläddra i källkod

262350: testcode

tags/pre268419
aclement 15 år sedan
förälder
incheckning
6a46a9eaf0

+ 9
- 0
tests/bugs164/pr262350/Instrumentation.java Visa fil

package dImmunix;

import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public aspect Instrumentation {
after(Object l) throwing: lock() && args(l) {
}
}


+ 10
- 0
tests/bugs164/pr262350/Test3.java Visa fil

public class Test3 {
public void m0() {
synchronized (this) {
synchronized ("Hello") {
System.out.println("Hello World");
}

}
}
}

+ 10
- 0
tests/bugs164/pr262350/Test4.java Visa fil

public class Test3 {
public void m0() {
synchronized (this) {
synchronized ("Hello") {
System.out.println("Hello World");
}

}
}
}

Laddar…
Avbryt
Spara