Typo: "final" should be "an argument".
robert.field@Eng 2000-03-28
-----
API for LocalVariable.isArgument() states that
"Determines if this variable is an argument to its method.
Returns:
true if this variable is final; false otherwise."
But using isArgument() method we find that for a variable which is not final
the method returns "true".
Scenario:
---------
Debugger: ArgumentTest.java
Debugee: LocalTest.java
isArgument() method on a local variable(k in LocalTest) which is an argument
and is non-final returns true. This behaviour is wrong as the method should
return true only for final variables.)
***Testing done in JDK1.3.0rc2-W-Hotspot and Classic VM(WinNT and Solaris2.7)
Steps to reproduce the bug
---------------------------
The bug can be reproduced using the files in the location
/net/sqesvr/export/disk5/toolsbugs/4324454
Follow the instructions in README to reproduce the bug.
robert.field@Eng 2000-03-28
-----
API for LocalVariable.isArgument() states that
"Determines if this variable is an argument to its method.
Returns:
true if this variable is final; false otherwise."
But using isArgument() method we find that for a variable which is not final
the method returns "true".
Scenario:
---------
Debugger: ArgumentTest.java
Debugee: LocalTest.java
isArgument() method on a local variable(k in LocalTest) which is an argument
and is non-final returns true. This behaviour is wrong as the method should
return true only for final variables.)
***Testing done in JDK1.3.0rc2-W-Hotspot and Classic VM(WinNT and Solaris2.7)
Steps to reproduce the bug
---------------------------
The bug can be reproduced using the files in the location
/net/sqesvr/export/disk5/toolsbugs/4324454
Follow the instructions in README to reproduce the bug.