* java/text/SimpleDateFormat.java
(compileFormat): Replace Character.isLetter() test with
Character.isLowerCase() || Character.isUpperCase().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72239
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-10-08 Michael Koch <konqueror@gmx.de>
+
+ * java/text/SimpleDateFormat.java
+ (compileFormat): Replace Character.isLetter() test with
+ Character.isLowerCase() || Character.isUpperCase().
+
2003-10-08 Tom Tromey <tromey@redhat.com>
* java/lang/StrictMath.java (toDegrees): Multiply before
field = formatData.getLocalPatternChars().indexOf(thisChar);
if (field == -1) {
current = null;
- if (Character.isLetter(thisChar)) {
+ if (Character.isLowerCase (thisChar)
+ || Character.isUpperCase (thisChar)) {
// Not a valid letter
tokens.add(new FieldSizePair(-1,0));
} else if (thisChar == '\'') {