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 228864 - Invert If doesn't know how to handle instanceof
Summary: Invert If doesn't know how to handle instanceof
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-22 18:32 UTC by misterm
Modified: 2013-04-28 07:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (156.28 KB, text/plain)
2013-04-22 18:32 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2013-04-22 18:32:21 UTC
Using Invert If on

if (o instanceof S)

gives

if (!o instanceof S)

Product Version = NetBeans IDE Dev (Build 20130419-7a8157c6f9ab)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01
Comment 1 misterm 2013-04-22 18:32:28 UTC
Created attachment 133676 [details]
IDE log
Comment 2 Quality Engineering 2013-04-28 02:16:05 UTC
Integrated into 'main-golden', will be available in build *201304272301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/77da7a8413ca
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #228864: fixing invert if for instanceof operator.