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 92045 - Invocation of bad method version
Summary: Invocation of bad method version
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks: 108873
  Show dependency tree
 
Reported: 2007-01-08 17:45 UTC by Martin Entlicher
Modified: 2010-04-29 09:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The test project. (8.17 KB, application/octet-stream)
2007-01-08 17:47 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2007-01-08 17:45:51 UTC
When an overriden method is called from the super class, evaluation in debugger
provides value from the method declared in the super class and not the actual
overriden method.

The attached project demonstrates this faulty behavior:
- Step into the AbstractClass.doTest() method.
- Evaluate test() in "boolean t = test()" statement,
- Evaluation returns "false", but after a next step t = true.
Comment 1 Martin Entlicher 2007-01-08 17:47:06 UTC
Created attachment 37153 [details]
The test project.
Comment 2 Martin Entlicher 2007-01-12 14:57:49 UTC
This is a problem in evaluator, scheduling for 6.0.
Comment 3 Martin Entlicher 2007-12-13 17:16:28 UTC
Fixed in the new evaluator algorithm - see issue #108873.
Comment 4 Quality Engineering 2010-04-29 09:31:42 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.