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 269745

Summary: Hint causes change
Product: java Reporter: Vlken
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: 8.2   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: Example

Description Vlken 2017-02-04 10:24:11 UTC
Created attachment 163569 [details]
Example

Applying the 'zero removal' hint change the result from 1 to 0.
Comment 1 Svata Dedic 2017-03-24 15:50:25 UTC
Fixed in jet-main#e6969acad679

I've added also a case for a ^ 0, which is also no-op.
Comment 2 Quality Engineering 2017-03-30 01:45:00 UTC
Integrated into 'main-silver', will be available in build *201703300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e6969acad679
User: Svata Dedic <sdedic@netbeans.org>
Log: #269745: proper fix provided for & operation (replace with constant / 0)