<i18n dev> 7026507: Bidi initialization fails if AWT not present

Alan Bateman Alan.Bateman at oracle.com
Mon Mar 28 07:46:33 PDT 2011


Masayoshi - do you mind reviewing this change to sun.text.bidi.BidiBase? 
This one is modularity related and only arises if Bidi is used when the 
client/desktop module is not present (not an issue for 7 of course). In 
that scenario then the initialization will throw a ClassCastException as 
the code attempts to treat the run direction as an 
AttributedCharacterIterator.Attribute rather than a Boolean. The webrev 
with the change is here:
  http://cr.openjdk.java.net/~alanb/7026507/webrev/

Thanks,
Alan.


More information about the i18n-dev mailing list