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 187214 - reports valid expression as "pointless"
Summary: reports valid expression as "pointless"
Status: RESOLVED DUPLICATE of bug 185010
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 17:37 UTC by emiddio
Modified: 2010-06-08 15:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
shows issue (504.89 KB, image/jpeg)
2010-06-04 17:38 UTC, emiddio
Details
shows issue (434.98 KB, image/jpeg)
2010-06-04 20:32 UTC, emiddio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2010-06-04 17:37:08 UTC
reports
 byte[]ba3=null;
 int a = ba3[1] & 0x80;
as valid

reports
 byte[]ba3=null;
 int a = ba3[0] & 0x80;

as pointless bitwise expression.

netbeans 6.9 rc2
Comment 1 emiddio 2010-06-04 17:38:08 UTC
Created attachment 99827 [details]
shows issue
Comment 2 emiddio 2010-06-04 20:32:29 UTC
Created attachment 99831 [details]
shows issue

another error
Comment 3 Jan Lahoda 2010-06-08 15:06:40 UTC
Seems like duplicate of bug #185010. Thanks for the report anyway.

*** This bug has been marked as a duplicate of bug 185010 ***