What steps will reproduce the problem?
The following script works in 2.1.6, but fails in 2.1.7:
Map map = new HashMap();
map.put("key", "value");
print(map.entrySet().size());
What is the expected output? What do you see instead?
Expected output: 1
Actual output: // Error: EvalError: Error in method invocation: Method size()
not found in class'java.util.HashMap$EntrySet' : at Line: 1 : in file: <unknown
file> : .size ( )
What version of the product are you using? On what operating system?
BeanShell 2.1.7 on Windows 7.
Original issue reported on code.google.com by cwals...@gmail.com on 18 Feb 2014 at 5:41
Original issue reported on code.google.com by
cwals...@gmail.com
on 18 Feb 2014 at 5:41