This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 86666 - ISE from o.n.m.java.hints.AddCastCreator
Summary: ISE from o.n.m.java.hints.AddCastCreator
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks: 87136
  Show dependency tree
 
Reported: 2006-10-06 12:22 UTC by Jiri Prox
Modified: 2007-01-17 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ISE (1.43 KB, text/plain)
2006-10-06 12:23 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2006-10-06 12:22:51 UTC
NetBeans IDE Dev (Build 061006)
1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b02
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

ISE when mising cast.
Code (keys is Set<String> and arg0 is int):

String s =  keys.toArray()[arg0];
Comment 1 Jiri Prox 2006-10-06 12:23:17 UTC
Created attachment 34977 [details]
ISE
Comment 2 Jan Lahoda 2006-10-09 17:12:05 UTC
Should be fixed:
Checking in src/org/netbeans/modules/java/hints/AddCastCreator.java;
/cvs/java/hints/src/org/netbeans/modules/java/hints/Attic/AddCastCreator.java,v
 <--  AddCastCreator.java
new revision: 1.1.2.4; previous revision: 1.1.2.3
done
Checking in test/unit/src/org/netbeans/modules/java/hints/JavaHintsTest.java;
/cvs/java/hints/test/unit/src/org/netbeans/modules/java/hints/Attic/JavaHintsTest.java,v
 <--  JavaHintsTest.java
new revision: 1.1.2.6; previous revision: 1.1.2.5
done
RCS file:
/cvs/java/hints/test/unit/data/goldenfiles/org/netbeans/modules/java/hints/JavaHintsTest/Attic/testAddCastHint10.pass,v
done
Checking in
test/unit/data/goldenfiles/org/netbeans/modules/java/hints/JavaHintsTest/testAddCastHint10.pass;
/cvs/java/hints/test/unit/data/goldenfiles/org/netbeans/modules/java/hints/JavaHintsTest/Attic/testAddCastHint10.pass,v
 <--  testAddCastHint10.pass
new revision: 1.1.2.1; previous revision: 1.1
done
RCS file:
/cvs/java/hints/test/unit/data/goldenfiles/org/netbeans/modules/java/hints/JavaHintsTest/Attic/testAddCastHint10-hints.pass,v
done
Checking in
test/unit/data/goldenfiles/org/netbeans/modules/java/hints/JavaHintsTest/testAddCastHint10-hints.pass;
/cvs/java/hints/test/unit/data/goldenfiles/org/netbeans/modules/java/hints/JavaHintsTest/Attic/testAddCastHint10-hints.pass,v
 <--  testAddCastHint10-hints.pass
new revision: 1.1.2.1; previous revision: 1.1
done
RCS file:
/cvs/java/hints/test/unit/data/org/netbeans/test/java/hints/Attic/AddCast10.java,v
done
Checking in test/unit/data/org/netbeans/test/java/hints/AddCast10.java;
/cvs/java/hints/test/unit/data/org/netbeans/test/java/hints/Attic/AddCast10.java,v
 <--  AddCast10.java
new revision: 1.1.2.1; previous revision: 1.1
done
Comment 3 Jiri Prox 2006-10-12 17:18:27 UTC
verified