Hi,

gcj 4.0 (I propose after the new release we require gcj 4.1+) had some
trouble compiling some new text/html code. Fixed as follows:

2006-06-10  Mark Wielaard  <[EMAIL PROTECTED]>

       * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
       Qualify ElementSpec.

Committed,

Mark

diff -u -r1.33 HTMLDocument.java
--- javax/swing/text/html/HTMLDocument.java     10 Jun 2006 09:10:58 -0000     
1.33
+++ javax/swing/text/html/HTMLDocument.java     10 Jun 2006 11:37:55 -0000
@@ -1437,8 +1437,10 @@
       // TODO: Figure out why we must always insert this single character
       // (otherwise the element does not appear). Either fix or add explaining
       // comment or at least report a normal bug.
-      ElementSpec spec = new ElementSpec(copy, ElementSpec.ContentType,
-                                         new char[] {' '}, 0, 1 );
+      DefaultStyledDocument.ElementSpec spec;
+      spec = new DefaultStyledDocument.ElementSpec(copy,
+       DefaultStyledDocument.ElementSpec.ContentType,
+        new char[] {' '}, 0, 1 );
       parseBuffer.add(spec);
     }


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to