Hi,

> * javax/swing/text/DefaultStyledDocument.java  
>           (ElementBuffer.insertElement): Added check for empty
>           stack to avoid EmptyStackException. 

Hmm, this clearly isn't the correct solution, because the stack should
never get empty anyway. I suspect some weird HTML (I don't want to say
broken, because HTML is much less strict with nesting than XML for
example), which causes the stack running empty. However, it doesn't hurt
either, so go with it. This is one of the most horrible undocumented and
hard-to-figure-out classes where I hoped we could simply import the
OpenJDK version somehow (have a look at all those mauve tests and ask
Lillian or Anthony ;-) ). Apparently, this isn't easily possible, sigh.

/Roman

-- 
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt


Reply via email to