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

javadoc of Properties methods should specify NullPointerExceptions

XMLWordPrintable

    • b56
    • x86
    • windows_8
    • Verified

        FULL PRODUCT VERSION :
        java version "1.8.0_31"
        Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
        Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

        A DESCRIPTION OF THE PROBLEM :
        The following methods in java.util.Properties should specify the behavior of passing null as parameters:

        load(Reader reader)
        @throws NullPointerException if reader is null

        load(InputStream inStream)
        @throws NullPointerException if inStream is null



        REPRODUCIBILITY :
        This bug can be reproduced always.

              bpb Brian Burkhalter
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: