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

Summary: Invocation of bad method version
Product: debugger Reporter: Martin Entlicher <mentlicher>
Component: JavaAssignee: issues@debugger <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 108873    
Attachments: The test project.

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.