Issue 26 in minijoe: Length of String is bad implemented

9 views
Skip to first unread message

min...@googlecode.com

unread,
May 11, 2014, 12:15:34 PM5/11/14
to min...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 26 by janovsky...@gmail.com: Length of String is bad implemented
http://code.google.com/p/minijoe/issues/detail?id=26

I found this bug on JsObject method evalNative line 874.

stack.setInt(sp, stack.getString(sp).length());

stack is empty. I solved it by replace this line by:

stack.setInt(sp, ((String)this.value).length());


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages