Re: Problems with Character

2002-03-23 Thread Patrik Reali
From: "Eric Blake" <[EMAIL PROTECTED]> > I think the latest version of both files in Classpath should work. > Could it possibly be a VM error in adding two chars, and casting the > result back to a char? The data is encoded as signed offsets from the > current character, but stored as unsigned c

Re: Problems with Character

2002-03-22 Thread Eric Blake
I think the latest version of both files in Classpath should work. Could it possibly be a VM error in adding two chars, and casting the result back to a char? The data is encoded as signed offsets from the current character, but stored as unsigned chars in the String constants; so if your VM doe

Problems with Character

2002-03-22 Thread Patrik Reali
Hi! I'm experiencing some problems with java.lang.Character. The methods toUpperCase and toLowerCase return wrong results (most of the calls leave the values unchanged, a few return strange values). I went through the code, but there's not much they're just taking the result from some tables