Bug 237756 - [compiler][jsr199] return significative information from EclipseDiagnostic#getCode
Summary: [compiler][jsr199] return significative information from EclipseDiagnostic#ge...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 236817
Blocks:
  Show dependency tree
 
Reported: 2008-06-19 04:42 EDT by Maxime Daniel CLA
Modified: 2008-06-19 04:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Daniel CLA 2008-06-19 04:42:44 EDT
In the course of fixing bug 236817, we will have to return diagnostics to diagnostic listeners. The draft fix on which I am working at the time of writing implements those as EclipseDiagnostic instances. Since Diagnostic#getCode javadoc allows us to return null, this is the option I took (implement minimal functionality first), but we should think again about this. Amongst candidates, the problem categories immediately come to mind, but the problem ID might be suitable as well, etc.. (Probably need also to consider how much of these are visible in the UI, giving kind of a 'hierarchy' of pseudo-API information bits.)