JDK-4393756 : JDI: *Argument.setValue(null) throws NullPointerException
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 1.3.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2000-11-30
  • Updated: 2001-03-30
  • Resolved: 2001-03-30
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Description

Name: elR10090			Date: 11/30/2000



The method invocation
			Argument.setValue(null);
    
throws NullPointerException.
However, the spec for this method do
neither prohibit the null-value string parameter 
nor specify any exception for this case. 



======================================================================

Same for 
BooleanArgument.isValid(null) throws NullPointerException
StringArgument.isValid(null) throws NullPointerException

This is fine - just needs to be documented.
Probably the same for the setValue() methods.
robert.field@Eng 2000-12-05

Name: elR10090			Date: 02/08/2001



The full names of the tests affected by this bug are:

    nsk/jdi/Argument/setValue/setvalue001


======================================================================

Comments
EVALUATION needs to be documented.
11-06-2004