classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: ParserDelegator compatibility fix.


From: Meskauskas Audrius
Subject: Re: [cp-patches] FYI: ParserDelegator compatibility fix.
Date: Tue, 12 Jul 2005 09:13:59 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Maybe.

2005-07-12  Audrius Meskauskas  <address@hidden>

*  javax/swing/text/html/parser/ParserDelegator.java (gnuParser.getDTD):
Added comment about 'super'.



Robert Schuster wrote:

could you please add a small comment that this is a workaround for 1.3's
javac to make sure no one removes it when the next spring clean happens. :)

cu
Robert

Meskauskas Audrius wrote:
Roman says this is required to compile the class with JDK1.3's javac
(and only for that compiler).

2005-07-12  Audrius Meskauskas  <address@hidden>

*  javax/swing/text/html/parser/ParserDelegator.java (gnuParser.getDTD):
added super. to refer the inherited field more obvious.

Index: javax/swing/text/html/parser/ParserDelegator.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/text/html/parser/ParserDelegator.java,v
retrieving revision 1.6
diff -u -r1.6 ParserDelegator.java
--- javax/swing/text/html/parser/ParserDelegator.java   11 Jul 2005 23:01:02 
-0000      1.6
+++ javax/swing/text/html/parser/ParserDelegator.java   12 Jul 2005 07:10:04 
-0000
@@ -113,6 +113,8 @@
 
     DTD getDTD()
     {
+      // Accessing the inherited 
gnu.javax.swing.text.html.parser.support.Parser
+      // field. super. is a workaround, required to support JDK1.3's javac.
       return super.dtd;
     }
   }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]