stefanofornari / BshConsole

A BeanShell console with history, vars/commands completion and more...
Apache License 2.0
2 stars 1 forks source link

Static method normalizeClassName(Class) not found in class'bsh.StringUtil' when printing an array #26

Open stefanofornari opened 5 years ago

stefanofornari commented 5 years ago
bsh # a  = {10, 20};
ret1: [I@27dc2c75
--> $4 = {10I, 20I} :int[]
bsh # print($4);
Unknown error: java.util.concurrent.ExecutionException: bsh.EvalError: Error in method invocation: Static method normalizeClassName(Class) not found in class'bsh.StringUtil' : at Line: 29 : in file: /bsh/commands/print.bsh : StringUtil .normalizeClassName ( arg .getClass ( ) ) 

Called from method: print/BlockNameSpace : at Line: 1 : in file: <unknown file> : print ( $4 ) 
stefanofornari commented 5 years ago

See https://github.com/beanshell/beanshell/issues/527