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 223097 - Cannot apply modulus operator to doubles in Variables window
Summary: Cannot apply modulus operator to doubles in Variables window
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.2.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-01 10:49 UTC by almson
Modified: 2012-12-05 02:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description almson 2012-12-01 10:49:23 UTC
Sample code:
    42.0 % 10.0

Variables window shows "Operator cannot be applied: 42.0 % 10.0"

This is the same if variables are entered instead of literals. For integers, things work fine.
Comment 1 Martin Entlicher 2012-12-03 15:09:02 UTC
Fixed by changeset:   241889:46383f3eb430
http://hg.netbeans.org/core-main/rev/46383f3eb430
Comment 2 Quality Engineering 2012-12-05 02:56:26 UTC
Integrated into 'main-golden', will be available in build *201212050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/46383f3eb430
User: mentlicher@netbeans.org
Log: #223097: Apply the remainder operator for double and float values as well.