JDK-4323433 : JDI: location is not null for an Abstract method
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2000-03-21
  • Updated: 2002-09-06
  • Resolved: 2002-09-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 betaFixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
As per the JDI documentation it says , abstract and native Methods
 will return null when their location method is called. But for
 abstract methods the location is returned.
 
 Windows Testing done in (1.3-0-V) build Hotspot and Classic.
 Solaris Testing done in (1.3.0.V)  build Classic..
 The output logfiles are attached for both the Windows and Solaris

Scenario:
 ----------
 1)MethodTest.java
 2)MethodDebugee.java
 3)AbsInterface.java
 
 AbsInterface has an abstract method testMe() which is
 implemented in MethodDebugee.java. Firstly the method is
 tested as to whether it is abstract with the isAbstract() function.
 It is found that  when  testMe().location() executes instead of 
 the expected null value a location value is returned.

 
 Steps to reproduce the bug
 -----------------------------------
 The bug can be reproduced using the files in the location
 /net/sqesvr/export/disk5/toolsbugs/4323433
 Follow the instructions in README to reproduce the bug. 

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta FIXED IN: merlin-beta INTEGRATED IN: merlin-beta
14-06-2004

PUBLIC COMMENTS As per the JDI documentation it says , abstract Methods will return null when their location method is called. But for abstract methods the location is returned.
10-06-2004

EVALUATION See 4252790. Fixed: Now abstract methods return null. robert.field@Eng 2000-03-28
28-03-2000