Skip to content

Commit 100d648

Browse files
committed
2022.04.19 TypeError and ResourceError gain printStack
1 parent bf19b11 commit 100d648

File tree

7 files changed

+5
-2
lines changed

7 files changed

+5
-2
lines changed
5.13 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20220329063442
1+
20220419105639
5.13 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20220329063442
1+
20220419105639
5.13 KB
Binary file not shown.

sources/net.sf.j2s.java.core/srcjs/js/j2sClazz.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
// Google closure compiler cannot handle Clazz.new or Clazz.super
99

10+
// BH 2022.04.19 TypeError and ResourceError gain printStackTrace$() methods
1011
// BH 2022.03.19 String.valueOf(Double) does not add ".0"
1112
// BH 2022.01.17 fixes interface default method referencing own static fields
1213
// BH 2021.12.19 adds Double -0; fixes println(Double)

sources/net.sf.j2s.java.core/srcjs/swingjs2.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14073,6 +14073,8 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
1407314073

1407414074
;(function(J2S, window, document) {
1407514075

14076+
TypeError.prototype.printStackTrace$ = ReferenceError.prototype.printStackTrace$ = function() { console.log(this) }
14077+
1407614078
if (J2S.clazzLoaded) return;
1407714079
J2S.clazzLoaded = true;
1407814080

0 commit comments

Comments
 (0)