stefanhaustein / minijoe

Automatically exported from code.google.com/p/minijoe
7 stars 2 forks source link

toUpperCase & toLowerCase not working. #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. 'LOWER'.toLowerCase() 
2.
3.

What is the expected output? What do you see instead?
expected:lower
actual:tolowercase

What version of the product are you using? On what operating system?
JsObject R41

Please provide any additional information below.
I think it should be:
  stack.setObject(sp, stack.getString(sp).toLowerCase());
Was changed to:
  stack.setObject(sp, stack.getString(sp + 2).toLowerCase());
Same for toUppercase.

Original issue reported on code.google.com by william....@gmail.com on 16 Mar 2009 at 11:04

GoogleCodeExporter commented 8 years ago
I thought I had fixed this a while ago... 

Can you reproduce this problem in the 1.0 jar only or in the SVN repository, 
too?

Original comment by stefan.haustein on 4 May 2009 at 11:59