Bug 33527 - Inexact match searching in java.math.BigDecimal
Summary: Inexact match searching in java.math.BigDecimal
Status: RESOLVED INVALID
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 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-28 06:29 EST by Jerome Lanneluc CLA
Modified: 2003-02-28 11:07 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 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.