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

Class.getResourceAsStream(null) doesn't throw NPE

    XMLWordPrintable

    Details

      Description

      Not seen in in SameJVM or GroupJVM modes

      Test that failed

      api/java_lang/Class/index.html#Reflect: Failed. test cases: 52; passed: 51; failed: 1; first test case failure: Class0919

      ================================
      ----------out1:(53/1361)----------
      Class2101: Passed. OKAY
      Class0901: Passed. OKAY
      Class0902: Passed. OKAY
      Class0903: Passed. OKAY
      Class2102: Passed. OKAY
      Class2103: Passed. OKAY
      Class0904: Passed. OKAY
      Class2104: Passed. OKAY
      Class2105: Passed. OKAY
      Class0905: Passed. OKAY
      Class0906: Passed. OKAY
      Class0907: Passed. OKAY
      Class0908: Passed. OKAY
      Class2107: Passed. OKAY
      Class0910: Passed. OKAY
      Class0911: Passed. OKAY
      Class0912: Passed. OKAY
      Class0913: Passed. OKAY
      Class0914: Passed. OKAY
      Class2108: Passed. OKAY
      Class2109: Passed. OKAY
      Class2110: Passed. OKAY
      Class2111: Passed. OKAY
      Class2112: Passed. OKAY
      Class2113: Passed. OKAY
      Class2114: Passed. OKAY
      Class2115: Passed. OKAY
      Class2116: Passed. OKAY
      Class2117: Passed. OKAY
      Class2119: Passed. OKAY
      Class2120: Passed. OKAY
      Class2121: Passed. OKAY
      Class2122: Passed. OKAY
      Class2123: Passed. OKAY
      Class2125: Passed. OKAY
      Class2126: Passed. OKAY
      Class2127: Passed. OKAY
      Class2128: Passed. OKAY
      Class2129: Passed. OKAY
      Class2130: Passed. OKAY
      Class2131: Passed. OKAY
      Class0915: Passed. OKAY
      Class0916: Passed. OKAY
      Class0917: Passed. OKAY
      Class0918: Passed. OKAY
      Class0919: Failed. NullPointerException expected
      Class0920: Passed. OKAY
      Class0921: Passed. OKAY
      Class0922: Passed. OKAY
      Class0923: Passed. OKAY
      Class2135: Passed. OKAY
      Class2136: Passed. OKAY
      STATUS:Failed.test cases: 52; passed: 51; failed: 1; first test case failure: Class0919
      ----------out2:(0/0)----------
      result: Failed. test cases: 52; passed: 51; failed: 1; first test case failure: Class0919
      ================================

        Attachments

          Activity

            People

            Assignee:
            alanb Alan Bateman
            Reporter:
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: