mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
12 lines
295 B
Java
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) { }
|
||
|
}
|