Bug 120130 - IField.getConstant() fails for a certain constant
Summary: IField.getConstant() fails for a certain constant
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-09 12:13 EST by Philip Mayer CLA
Modified: 2006-02-14 06:10 EST (History)
0 users

See Also:


Attachments
Proposed fix and regression test (10.96 KB, patch)
2005-12-12 13:37 EST, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Mayer CLA 2005-12-09 12:13:02 EST
Build id: I20051206-1200

IField.getConstant() fails for the following constant:

static final int DISPOSED		= 1<<0;

=> java.lang.NumberFormatException: For input string: "1<<0"
Comment 1 Jerome Lanneluc CLA 2005-12-12 13:37:51 EST
Created attachment 31574 [details]
Proposed fix and regression test
Comment 2 Jerome Lanneluc CLA 2006-01-06 09:06:22 EST
Released fix and regression test.
Comment 3 Frederic Fusier CLA 2006-02-14 06:10:20 EST
Verified for 3.2 M5 using build I20060214-0010.