-
Bug
-
Resolution: Fixed
-
P3
-
7u25, 8
-
b102
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8028730 | 7u60 | Robert Mckenna | P3 | Closed | Won't Fix |
Javac accessed through JSR199 doesn't give the end position and it gives the wrong start position for some uninitialized variable errors. The start position of the error points to 'class' of the enclosing class of the variable. Compile and run the program below, it should print 2 errors with valid start/end positions and point to the usage and definition of the variable. Instead, the second error has no end position and doesn't point to the variable definition.
- backported by
-
JDK-8028730 Javac doesn't fill in end position for uninitialized variable errors
- Closed
- relates to
-
JDK-8031585 Have the compiler assert when missing End Positions
- Open
-
JDK-8017216 javac doesn't fill in end position for some errors of type not found
- Closed