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

Methods XMLEncoder.writeExpression and writeStatement does not explain null prm

XMLWordPrintable

    • b28
    • generic, sparc
    • generic, solaris_2.6

      Name: dsR10051 Date: 06/01/2001


      Javadoc for methods
      java.beans.XMLEncoder.writeExpression(Expression oldExp)
      java.beans.XMLEncoder.writeStatement(Statement oldStm)
      does not declare theirs behavior if the value of parameter is null.
      In this case writeExpression throws NullPointerException
      while writeStatement catches it and notifies ExceptionListener.
      It should be documented.

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

            shommel Scott Hommel (Inactive)
            sdasunw Sda Sda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: