Bug 30470 - IJavaModelStatus.getMessage not the same as getString
Summary: IJavaModelStatus.getMessage not the same as getString
Status: RESOLVED DUPLICATE of bug 28666
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-29 04:57 EST by Martin Aeschlimann CLA
Modified: 2003-01-29 10:28 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2003-01-29 04:57:25 EST
20030122

1. open build path page on a project
2. add JRE_LIB and the JRE container at the same time.
3. the error message is 'Name collision.'
It should also explain where the collision occured.
The message is taken from JavaConventions.validateClasspath. The returned 
IJavaModelStatus gives a full message when asked with 
IJavaModelStatus.getString, but with IJavaModelStatus.getMessage, the message 
is short (as described). Following the API defined by IStatus, getMessage is to 
be used.
Comment 1 Jerome Lanneluc CLA 2003-01-29 10:28:35 EST

*** This bug has been marked as a duplicate of 28666 ***