Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4393756

JDI: *Argument.setValue(null) throws NullPointerException

XMLWordPrintable

    • sparc
    • solaris_7



      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


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

            tbell Tim Bell
            latkinsunw Latkin Latkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: