JDK-8072431 : Unit test failures: JNLPClassloaderTest, JNLP2ClassLoaderTest
  • Type: Bug
  • Component: deploy
  • Affected Version: 8u60,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-02-03
  • Updated: 2015-09-29
  • Resolved: 2015-02-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60 b02Fixed 9Fixed
Description
JNLPClassLoaderTest.createJNLPClassLoader constructs a LaunchDesc with arg of LaunchDesc.APPLICATION_DESC_TYPE, but with an ApplicationDesc arg as null.
This causes an NPE later from getMainClass(), called from getAppInfo().
It is simple fix to pass in a valid ApplicationDesc.

Similar problem in JNLP2ClassLoaderTest, APPLET_DESC_TYPE is used with null AppletDesc.
Comments
Crucible Review: https://java.se.oracle.com/code/cru/CR-JDK9CLIENT-749
03-02-2015