Skip to content

Commit 423c281

Browse files
committed
3.2.4.09 - transpiler for c(); runtime
1 parent 6f79541 commit 423c281

File tree

8 files changed

+7
-20
lines changed

8 files changed

+7
-20
lines changed
-10.4 KB
Binary file not shown.
12 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20191026231242
1+
20191027191514
-10.4 KB
Binary file not shown.
12 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20191026231242
1+
20191027191514
-10.4 KB
Binary file not shown.

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

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19085,6 +19085,10 @@ var setEx = function(C$) {
1908519085
C$.$clinit$ = function() {Clazz.load(C$, 1);}
1908619086
m$(C$, "c$", function() { C$.superclazz.c$.apply(this, []);}, 1);
1908719087
m$(C$, "c$$S", function(detailMessage){C$.superclazz.c$$S.apply(this,[detailMessage]);},1);
19088+
m$(C$, "c$$Throwable", function(exception){C$.superclazz.c$$Throwable.apply(this, arguments);}, 1);
19089+
m$(C$, "c$$S$Throwable", function(detailMessage,exception){C$.superclazz.c$$S$Throwable.apply(this, arguments);
19090+
}, 1);
19091+
1908819092
return C$;
1908919093
}
1909019094

@@ -19093,31 +19097,14 @@ var C$ = Clazz.newClass(java.lang, "Error", function (){
1909319097
var err = Clazz._Error();
1909419098
return err;
1909519099
}, Throwable);
19096-
19097-
//setSuperclass(java.lang.Error, Throwable);
19098-
//setSuperclass(Clazz._Error, Throwable);
19099-
1910019100
setEx(C$);
19101-
1910219101
})();
1910319102

1910419103
var newEx = function(prefix, name, clazzSuper) {
1910519104
return setEx(declareType(prefix, name, clazzSuper));
1910619105
}
1910719106

19108-
;(function() {
19109-
var C$ = newEx(java.lang,"Exception",Throwable);
19110-
m$(C$, "c$", function(){}, 1);
19111-
m$(C$, "c$$S", function(detailMessage){
19112-
C$.superclazz.c$$S.apply(this, arguments);
19113-
}, 1);
19114-
m$(C$, "c$$Throwable", function(exception){
19115-
C$.superclazz.c$$Throwable.apply(this, arguments);
19116-
}, 1);
19117-
m$(C$, "c$$S$Throwable", function(detailMessage,exception){
19118-
C$.superclazz.c$$S$Throwable.apply(this, arguments);
19119-
}, 1);
19120-
})();
19107+
newEx(java.lang,"Exception",Throwable);
1912119108

1912219109
newEx(java.lang,"RuntimeException",Exception);
1912319110
newEx(java.lang,"IllegalArgumentException",RuntimeException);

0 commit comments

Comments
 (0)