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 85346 - Wrong hint when undefined method is used
Summary: Wrong hint when undefined method is used
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-09-20 15:06 UTC by Jiri Prox
Modified: 2007-01-17 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2006-09-20 15:06:57 UTC
NetBeans IDE Dev (Build 060920)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b98
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

Casting hins is suggested when undefined method is used to get a value.

Steps to reproduce:
1) create class
2) inside some method type:
   int i = undefined();

-> hint suggesting casting undefined() to int is provided, but it will not help
to solve compiler error
Comment 2 Jiri Prox 2006-10-02 12:32:45 UTC
verified