Skip to content

Commit a94ee46

Browse files
committed
working on a more complete context setup for WebWorker (#816) - simplify setup code
1 parent cf76635 commit a94ee46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/htmlunit/javascript/JavaScriptEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ private static void removePrototypeProperties(final Scriptable scope, final Stri
529529
* @throws IllegalArgumentException
530530
*/
531531
public static HtmlUnitScriptable configureClass(final ClassConfiguration config, final Scriptable window)
532-
throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException {
532+
throws Exception {
533533

534534
final HtmlUnitScriptable prototype = config.getHostClass().getDeclaredConstructor().newInstance();
535535
prototype.setParentScope(window);

0 commit comments

Comments
 (0)