Relates :
|
|
Relates :
|
SourcePositions reports the wrong start/end offsets for ExpressionTrees containing Strings concatenated with '+' operator, and in some cases (annotation arguments) the end offset is -1. Compile and run the attached program with tools.jar in the classpath. It prints out: Annotation argument: + "ll") pu StartOffset: 22 EndOffset: -1 Field init: + "ll" StartOffset: 86 EndOffset: 92
|