Skip to content

Commit 4bed8f1

Browse files
authored
Merge pull request #150 from java2script/master
primitive TYPE class missing getComponentType()
2 parents c00b0c8 + 46fa760 commit 4bed8f1

File tree

7 files changed

+4
-4
lines changed

7 files changed

+4
-4
lines changed
17 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20200201153353
1+
20200202134002
17 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20200201153353
1+
20200202134002
17 Bytes
Binary file not shown.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3500,7 +3500,7 @@ var setJ2STypeclass = function(cl, type, paramCode) {
35003500
cl.TYPE.toString = cl.TYPE.getName$ = cl.TYPE.getTypeName$
35013501
= cl.TYPE.getCanonicalName$ = cl.TYPE.getSimpleName$ = function() {return type};
35023502
cl.TYPE.isAssignableFrom$Class = (function(t) {return function(c) {return c == t}})(cl.TYPE);
3503-
cl.TYPE.getSuperclass$ = NULL_FUNC;
3503+
cl.TYPE.getSuperclass$ = cl.TYPE.getComponentType$ = NULL_FUNC;
35043504
cl.TYPE.getInterfaces$ = EMPTY_CLASSES;
35053505
}
35063506

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17355,7 +17355,7 @@ var setJ2STypeclass = function(cl, type, paramCode) {
1735517355
cl.TYPE.toString = cl.TYPE.getName$ = cl.TYPE.getTypeName$
1735617356
= cl.TYPE.getCanonicalName$ = cl.TYPE.getSimpleName$ = function() {return type};
1735717357
cl.TYPE.isAssignableFrom$Class = (function(t) {return function(c) {return c == t}})(cl.TYPE);
17358-
cl.TYPE.getSuperclass$ = NULL_FUNC;
17358+
cl.TYPE.getSuperclass$ = cl.TYPE.getComponentType$ = NULL_FUNC;
1735917359
cl.TYPE.getInterfaces$ = EMPTY_CLASSES;
1736017360
}
1736117361

0 commit comments

Comments
 (0)