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 67301 - Evaluator problems with unary increments/decrements
Summary: Evaluator problems with unary increments/decrements
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks: 108873
  Show dependency tree
 
Reported: 2005-10-21 14:44 UTC by Martin Entlicher
Modified: 2010-04-29 09:26 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 Martin Entlicher 2005-10-21 14:44:34 UTC
Values of expressions like x++ produce bad results (result is *after* the
incrementation). Therefore e.g. expression like
x = 2;
x++ == 2
gives false, even though it should be true.
Also, expressions like
x++ == 2 && x == 3
should also evaluate as true.
Comment 1 Martin Entlicher 2005-10-21 14:45:39 UTC
Might not be hard to fix - scheduling for 5.0.
Comment 2 Max Sauer 2006-02-13 13:27:08 UTC
This has not been fixed inside 5.0 => TM = TBD.
[5.0 FCS]
Comment 3 Martin Entlicher 2007-12-13 17:14:29 UTC
Fixed in the new evaluator algorithm - see issue #108873.
Comment 4 Quality Engineering 2010-04-29 09:26:41 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.