Bug 30470

Summary: IJavaModelStatus.getMessage not the same as getString
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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 ***