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.
|