Blocks :
|
|
Relates :
|
|
Relates :
|
public class T { public static final String TEXT = B.NAME; } public class B { public static final String NAME = "my-name"; } There is no CONSTANT_Class entry of class B in T.class. If B.NAME is referenced from a method body, the redundant constant pool entry is present.
|