Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bd6fd63

Browse files
committed
Fixed bug
1 parent 3efe36c commit bd6fd63

File tree

1 file changed

+1
-1
lines changed
  • sources/net.sf.j2s.java.core/src/java/lang

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.core/src/java/lang/Class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ Clazz.superConstructor = function (objThis, clazzThis, funParams) {
650650
// This is a single method, call directly!
651651
fx = clazzFun;
652652
clazzSuper = clazzFun.claxxOwner;
653-
superTopBased = clazzSuper == null || superClazzSuper == null;
653+
superTopBased = clazzSuper == null || clazzSuper.superClazz == null;
654654
}
655655
/*
656656
// As suer constructor needs to check preparing fields, do NOT use cached

0 commit comments

Comments
 (0)