I'm checking this in.

Sven pointed out a bug in Bidi that he found by inspection.

Tom

2006-06-08  tromey  <[EMAIL PROTECTED]>

        * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
        of 'types'.

Index: java/text/Bidi.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/text/Bidi.java,v
retrieving revision 1.4
diff -u -r1.4 Bidi.java
--- java/text/Bidi.java 21 Mar 2006 20:06:03 -0000      1.4
+++ java/text/Bidi.java 8 Jun 2006 23:29:57 -0000
@@ -657,7 +657,7 @@
                                      ? prevStrong
                                      : embeddingDirection);
                     for (int j = neutralStart; j < i; ++j)
-                      types[i] = override;
+                      types[j] = override;
                   }
                 prevStrong = newStrong;
                 neutralStart = -1;

Reply via email to