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

Summary: reports valid expression as "pointless"
Product: java Reporter: emiddio <emiddio>
Component: HintsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: shows issue
shows issue

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 ***