org.aspectj/tests/new/DefiniteStatic.java
2002-12-16 18:51:06 +00:00

12 lines
295 B
Java

class Type { }
class bat {
public static final Type SOURCE = new Type();
}
public class DefiniteStatic {
protected static final Type SINK = bat.SOURCE;
public Type sink = SINK; // incorrect CE: field SINK might not have a value
public static void main(String[] args) { }
}