-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
beta3
-
generic
-
generic
-
Verified
Name: poR10007 Date: 08/17/2001
Javac (jdk1.4.0beta-b76) when running in -Xjcov mode may produce inaccurate
ending source positions for CharacterRangeTable entries containing info about
statements of instance and static initializers.
In the following test:
--Test.java---------------------------------------
public class Test {
Object array[] = { "red", "blue" };
}
--------------------------------------------------
the only statement contained in class definition has the ending position
at the closing brace of the array initializer. But the entry in the
CharacterRangeTable says that the ending position is at the end of string
literal "blue".
======================================================================