Created attachment 163569 [details]
Applying the 'zero removal' hint change the result from 1 to 0.
Fixed in jet-main#e6969acad679
I've added also a case for a ^ 0, which is also no-op.
Integrated into 'main-silver', will be available in build *201703300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Svata Dedic <firstname.lastname@example.org>
Log: #269745: proper fix provided for & operation (replace with constant / 0)