Bug 33527

Summary: Inexact match searching in java.math.BigDecimal
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 RC2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jerome Lanneluc CLA 2003-02-28 06:29:30 EST
Build 20030227

1. Create Java project with rt.jar from JDK1.4.1 on its classpath
2. Open java.math.BigDecimal
3. Open Java Search wizard
4. Enter 'java.lang.String', Type, References, Selected Resources
5. Search
Observe: an inexact match is found in BigDecimal(String).
Comment 1 Jerome Lanneluc CLA 2003-02-28 06:33:51 EST
declarationEnd of the constructor BigDecimal(String) is wrong: it points to the 
end of the file.
Comment 2 Jerome Lanneluc CLA 2003-02-28 06:53:34 EST
BigDecimal(String) contains an assert statement and I was running in 1.3 
compliance mode. Shouldn't the recovery handle this case?
Comment 3 Jerome Lanneluc CLA 2003-02-28 11:07:35 EST
The inexact match is actually in the constructor that uses the assert 
statement. So it is expected in 1.3 compliance mode.

Closing.