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 - Hint causes change
Summary: Hint causes change
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.2
Hardware: PC Windows 7 x64
: P1 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-04 10:24 UTC by Vlken
Modified: 2017-03-30 01:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example (5.13 KB, image/png)
2017-02-04 10:24 UTC, Vlken
Details

Note You need to log in before you can comment on or make changes to this bug.
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)