Skip to content

Commit

Permalink
Fix JS to Java exception conversion for UncaughtExceptionHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
zbynek committed Dec 6, 2024
1 parent 6f9f451 commit ab38d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gwt-core/src/main/java/org/gwtproject/core/client/GWT.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private static void addOnErrorHandler(Window window, Window.OnerrorFn onerrorFn)
@JsMethod
private static native Throwable fromObject(Object obj) /*-{
//GWT2 impl using JSNI, see GWT.native.js for the j2cl impl
var throwable = @java.lang.Throwable::of(*)(obj);
return @java.lang.Throwable::of(*)(obj);
}-*/;

@JsType(isNative = true, name = "window", namespace = "<window>")
Expand Down

0 comments on commit ab38d9d

Please sign in to comment.