8039114: Build failure: JDK-8039108 issue

Reviewed-by: alanb
This commit is contained in:
Sean Coffey 2014-04-02 21:45:26 +01:00
parent aa1964b8d6
commit 811be0cb68

@ -253,7 +253,9 @@ public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
Method method = clazz.getMethod("getAppletContext");
appletContext = method.invoke(javaAwtAccess);
} catch (IllegalAccessException | InvocationTargetException | NoSuchMethodException e) {
throw new InternalError(e);
InternalError err = new InternalError();
err.initCause(e);
throw err;
}
if (appletContext != null) {