Duplicate :
|
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/<bugid> Follow the instructions in README to reproduce the bug.