Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.0.7
-
None
-
None
Description
org.codehaus.groovy.runtime.DefaultGroovyMethods.size(StringBuffer sb)
doesn't have the same behavior between 2.5.x and 3.0.x
assert org.codehaus.groovy.runtime.DefaultGroovyMethods.size(new StringBuffer('test')) == 4 // true in 2.5.x assert org.codehaus.groovy.runtime.DefaultGroovyMethods.size(new StringBuffer('test')) == 4 // false in 3.0.x, expected 1
I didn't find any explanation about this change in the release note.