When passed null instead of a Object value many JDI methods will throw
NullPointerException. The spec does not declare these NullPointerExceptions.
A few of many such cases:
StackFrame.getValue(LocalVariable variable)
StackFrame.getValues(java.util.List variables)
Argument.isValid(null)
BooleanArgument.isValid(null)
StringArgument.isValid(null)
Name: elR10090 Date: 04/28/2001
This bug causes failure of the following testbase_nsk tests:
nsk/jdi/Argument/isValid/isvalid002
nsk/jdi/Argument/setValue/setvalue001
nsk/jdi/BooleanArgument/isValid/isvalid002
Such record containing full test names allows to automatically
generate the following list of known test failures (we maintain
it updated every working day):
/net/sqesvr.eng/export/vsn/VM/testbase/nsk_stuff/buglist_nsk/nsk.knownbugs
======================================================================
NullPointerException. The spec does not declare these NullPointerExceptions.
A few of many such cases:
StackFrame.getValue(LocalVariable variable)
StackFrame.getValues(java.util.List variables)
Argument.isValid(null)
BooleanArgument.isValid(null)
StringArgument.isValid(null)
Name: elR10090 Date: 04/28/2001
This bug causes failure of the following testbase_nsk tests:
nsk/jdi/Argument/isValid/isvalid002
nsk/jdi/Argument/setValue/setvalue001
nsk/jdi/BooleanArgument/isValid/isvalid002
Such record containing full test names allows to automatically
generate the following list of known test failures (we maintain
it updated every working day):
/net/sqesvr.eng/export/vsn/VM/testbase/nsk_stuff/buglist_nsk/nsk.knownbugs
======================================================================
- duplicates
-
JDK-4427753 JDI: two StackFrame methods throw unspecified NullPointerException
- Closed
-
JDK-4393756 JDI: *Argument.setValue(null) throws NullPointerException
- Closed
-
JDK-4460188 JDI spec: spec for global RuntimeExceptions inconsistent - centralize it
- Closed