classpathx-xml
[Top][All Lists]
Advanced

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

[Classpathx-xml] Fixing more warnings


From: Michael Koch
Subject: [Classpathx-xml] Fixing more warnings
Date: Thu, 23 Oct 2003 22:13:29 +0200

Hi list,


When compiling the GNU jaxp included in classpath with jikes gives some 
warnings:

Issued 4 semantic warnings compiling 
"/home/mkoch/src/classpath/external/jaxp/source/gnu/xml/pipeline/XIncludeFilter.java":

   460.             setContentHandler (this);
                    <---------------------->
*** Caution: Ambiguous reference to member named "setContentHandler" 
inherited from type "gnu/xml/pipeline/EventFilter" but also declared or 
inherited in the enclosing type "gnu/xml/pipeline/XIncludeFilter". Explicit 
qualification is required.


   461.             setProperty (LEXICAL_HANDLER, this);
                    <--------------------------------->
*** Caution: Ambiguous reference to member named "setProperty" inherited from 
type "gnu/xml/pipeline/EventFilter" but also declared or inherited in the 
enclosing type "gnu/xml/pipeline/XIncludeFilter". Explicit qualification is 
required.


   464.             setDTDHandler (null);
                    <------------------>
*** Caution: Ambiguous reference to member named "setDTDHandler" inherited 
from type "gnu/xml/pipeline/EventFilter" but also declared or inherited in 
the enclosing type "gnu/xml/pipeline/XIncludeFilter". Explicit qualification 
is required.


   465.             setProperty (DECL_HANDLER, null);
                    <------------------------------>
*** Caution: Ambiguous reference to member named "setProperty" inherited from 
type "gnu/xml/pipeline/EventFilter" but also declared or inherited in the 
enclosing type "gnu/xml/pipeline/XIncludeFilter". Explicit qualification is 
required.


The attached patch fixes it for classpath but I think the patch is really 
easy to port to GNU jaxp CVS. I looked into GNU jaxp CVS and the fix is 
missing there too.


Michael

Attachment: jaxp.diff
Description: Text Data


reply via email to

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