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

Methods XMLEncoder.writeExpression and writeStatement does not explain null prm

    XMLWordPrintable

Details

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

    Description

      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.

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: