mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-14 02:10:40 +02:00
18 lines
383 B
Java
18 lines
383 B
Java
import org.aspectj.testing.Tester;
|
|
|
|
public class IllegalForwardReference {
|
|
public static void main(String[] args) {
|
|
System.out.println(new Aspect.InnerClass().j + ", " + new Aspect.InnerClass().i);
|
|
Tester.check(true, "compiled!");
|
|
}
|
|
}
|
|
|
|
aspect Aspect {
|
|
//int InnerClass.i = 13;
|
|
|
|
static class InnerClass {
|
|
int j = i;
|
|
int i = 13;
|
|
}
|
|
}
|