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

Specs for Properties.store are silent about null output stream

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • docs
    • None
    • beta
    • sparc
    • solaris_2.5



      Name: saC57035 Date: 10/05/98


      The specs for Properties.store(OutputStream out, String header)
      don't describe the method's behaviour if out is null.

      JDK 1.1.X releases silently accept null and do nothing. Starting with
      JDK 1.2 NullPointerException is thrown in this case. The scarce docs
      make impossible to determine which behaviour is correct.

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

            jhosunw Jamie Ho (Inactive)
            savzan Stanislav Avzan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: