Skip to content
This repository was archived by the owner on Sep 26, 2020. It is now read-only.

Commit d6238bf

Browse files
committed
FIXME: fix SerializableThrowable dependency on JavaScriptException
1 parent dc8ac7c commit d6238bf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

user/gwt-core-shared/src/main/java/com/google/gwt/core/shared/SerializableThrowable.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
*/
1616
package com.google.gwt.core.shared;
1717

18-
import com.google.gwt.core.client.JavaScriptException;
19-
2018
/**
2119
* A serializable copy of a {@link Throwable}, including its causes and stack trace. It overrides
2220
* {@code #toString} to mimic original {@link Throwable#toString()} so that {@link #printStackTrace}
@@ -147,9 +145,10 @@ private static void resolveDesignatedType(SerializableThrowable t, Throwable des
147145
} catch (NullPointerException e) {
148146
resolvedName = "java.lang.NullPointerException";
149147
resolvedType = NullPointerException.class;
150-
} catch (JavaScriptException e) {
151-
resolvedName = "com.google.gwt.core.client.JavaScriptException";
152-
resolvedType = JavaScriptException.class;
148+
// FIXME
149+
// } catch (JavaScriptException e) {
150+
// resolvedName = "com.google.gwt.core.client.JavaScriptException";
151+
// resolvedType = JavaScriptException.class;
153152
} catch (RuntimeException e) {
154153
resolvedName = "java.lang.RuntimeException";
155154
resolvedType = RuntimeException.class;

0 commit comments

Comments
 (0)