Details
-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b93
-
generic
-
generic
-
Verified
Description
See https://netbeans.org/bugzilla/show_bug.cgi?id=188743
Get the sources via:
svn co -r 1114 https://java-nio-charset-enhanced.dev.java.net/svn/java-nio-charset-enhanced/branches/JDK-7/j_l_Character_names
Open the project in NetBeans, select configuration gen_sherman2_6 and Java platform jdk1.7.0-b84/fastdebug and build it.
java/lang/CharacterNames6.java has an assert statement at line 103. It's span accross three lines. But when I look at the compiled bytecode (javap -private -c -l java/lang/CharacterNames6), the LineNumberTable of initNames() method is:
...
line 101: 188
line 105: 199
...
Code index 199 is the *beginning* of the assert statement, which starts at line 103. Therefore IMHO line 103 should map to code index 199.
Get the sources via:
svn co -r 1114 https://java-nio-charset-enhanced.dev.java.net/svn/java-nio-charset-enhanced/branches/JDK-7/j_l_Character_names
Open the project in NetBeans, select configuration gen_sherman2_6 and Java platform jdk1.7.0-b84/fastdebug and build it.
java/lang/CharacterNames6.java has an assert statement at line 103. It's span accross three lines. But when I look at the compiled bytecode (javap -private -c -l java/lang/CharacterNames6), the LineNumberTable of initNames() method is:
...
line 101: 188
line 105: 199
...
Code index 199 is the *beginning* of the assert statement, which starts at line 103. Therefore IMHO line 103 should map to code index 199.