This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [gui] Add missing interface declaration to IIOMetadataNode
Am Dienstag, 28. Dezember 2004 20:45 schrieb Jerry Quinn:
> Michael Koch wrote:
> > Am Dienstag, 28. Dezember 2004 20:31 schrieb Jerry Quinn:
> >>Missed this bit.
> >>
> >>2004-12-28 Jerry Quinn <jlquinn@optonline.net>
> >>
> >> * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
> >> implemented interface list.
> >>
> >>Index: IIOMetadataNode.java
> >>=================================================================
> >>== RCS file:
> >>/cvs/gcc/gcc/libjava/javax/imageio/metadata/IIOMetadataNode.java,
> >>v retrieving revision 1.1.12.2
> >>retrieving revision 1.1.12.3
> >>diff -u -r1.1.12.2 -r1.1.12.3
> >>--- IIOMetadataNode.java 28 Dec 2004 18:55:49 -0000 1.1.12.2
> >>+++ IIOMetadataNode.java 28 Dec 2004 19:27:43 -0000 1.1.12.3
> >>@@ -51,7 +51,7 @@
> >> import org.w3c.dom.Node;
> >> import org.w3c.dom.NodeList;
> >>
> >>-public class IIOMetadataNode implements Element, NodeList
> >>+public class IIOMetadataNode implements Element, Node, NodeList
> >
> > According to J2SE 1.4.2 and 1.5.0 online docs this is wrong.
>
> Phoo. I got confused looking at the docs. If you look at the
> 1.4.2 docs, the "All Implemented Interfaces" section at the top
> shows Node, but the class decl right below doesn't include it. The
> other thing is that the japi analysis claims that 1.4.2 has Node
> declared as an interface.
Please, never rely on japi output. It's a little helper (that is
sometimes wrong).
> > Note that I had all this stuff on my disk already and wanted to
> > commit it next weekend.
>
> I'll be happy to revert that bit if you want. And if you want me
> to pull the whole pile out, I'll do that too.
No no.
Michael
--
Homepage: http://www.worldforge.org/