Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6731573
Votes 0
Synopsis diagnostic output should optionally include source line
Category java:compiler
Reported Against
Release Fixed 7(b39)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs 6731572 , 6754437
Submit Date 30-JUL-2008
Description
The message for a diagnostic available via the JSR 199 API does not currently include the source line. That is added specially by Log.  This is for the convenience of IDEs, who probably don't want to include the source line, but it does not work well for batch clients, such as JCK. 

javac should provide an option for either behavior.
Posted Date : 2008-07-30 14:49:34.0
Work Around
N/A
Evaluation
Will do. This is indeed quite trivial; I just have to move the code for printing error line from Log to AbstractDiagnosticFormatter!
Posted Date : 2008-09-26 17:30:36.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang