mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
18 lines
340 B
Java
18 lines
340 B
Java
import testutils.RequiresReadLock;
|
|
import testutils.ExpectedPath
|
|
|
|
@ExpectedPath("CyclicRecursiveCalls.testMethod -> CyclicRecursiveCalls.methodB -> @RequiresReadLock")
|
|
class CyclicRecursiveCalls {
|
|
void testMethod() {
|
|
methodB();
|
|
}
|
|
|
|
@RequiresReadLock
|
|
void methodB() {
|
|
methodC();
|
|
}
|
|
|
|
void methodC() {
|
|
testMethod();
|
|
}
|
|
} |