Skip to content

Commit 7135995

Browse files
author
zhourenjian
committed
Fixed a bug that Google Chrome complains v8native.js error
1 parent 82d287f commit 7135995

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
@@ -1060,7 +1060,7 @@ Clazz.formatParameters = function (funParams) {
10601060
* If funParams is Array, funParams.toString() will
10611061
* also return "*,*,..." string.
10621062
*/
1063-
var s = funParams.toString ();
1063+
var s = funParams; //.toString (); // Google Chrome v8native.js error
10641064
s = s.replace (/~([NABSO])/g, function ($0, $1) {
10651065
if ($1 == 'N') {
10661066
return "Number";

0 commit comments

Comments
 (0)