Must set the thread context classloader when invoking direct.

This commit is contained in:
Michael Bayne
2015-12-18 11:06:30 -08:00
parent 5f373cd4db
commit 408defd0d0
@@ -1048,6 +1048,7 @@ public class Application
System.setProperty("applet", "true");
try {
Thread.currentThread().setContextClassLoader(loader);
Class<?> appclass = loader.loadClass(_class);
String[] args = _appargs.toArray(new String[_appargs.size()]);
Method main;