JDK-6406771 : Tree API clients need access to the compiler's line number table
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-03-31
  • Updated: 2017-05-16
  • Resolved: 2006-04-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b83Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Need access to the LineMap for a CompilationUnit.

See also: 6403466, need TaskListener events for annotation processing
See also: 6402516, need access to Scope for a Tree
See also: 6341023, Tree.Kind should have mapping to interface

Comments
EVALUATION The line map is available internally in javac; it is reasonably easy to expose it via a new interface to Tree API clients. The See Also bugs are being tracked separately, under their own ID.
20-04-2006

EVALUATION Yes
31-03-2006