Re: 1.5 Sun JDK and Xindice?

Laxma Reddy Dendi <[email protected]>
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
here is the output from the build command (jdk1.5.0_02, got the latest
xindice with cvs, on Windows 2000 prof)
====================================================================
D:\Xindice-1.1b5>build
Using Java from d:\jdk1.5.0_02
Buildfile: build.xml

src-build:
    [javac] Compiling 29 source files to D:\Xindice-1.1b5\build\classes
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\AttrImpl.java:3
1: org.apache.xindice.xml.dom.AttrImpl is not abstract and does not override abs
tract method setUserData(java.lang.String,java.lang.Object,org.w3c.dom.UserDataH
andler) in org.w3c.dom.Node
    [javac] public final class AttrImpl extends ContainerNodeImpl implements Att
r {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\TextImpl.java:3
0: org.apache.xindice.xml.dom.TextImpl is not abstract and does not override abs
tract method setUserData(java.lang.String,java.lang.Object,org.w3c.dom.UserDataH
andler) in org.w3c.dom.Node
    [javac] public class TextImpl extends CharacterDataImpl implements Text {
    [javac]        ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\CDATASectionImp
l.java:29: org.apache.xindice.xml.dom.CDATASectionImpl is not abstract and does
not override abstract method replaceWholeText(java.lang.String) in org.w3c.dom.T
ext
    [javac] public final class CDATASectionImpl extends TextImpl implements CDAT
ASection {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\CommentImpl.jav
a:29: org.apache.xindice.xml.dom.CommentImpl is not abstract and does not overri
de abstract method setUserData(java.lang.String,java.lang.Object,org.w3c.dom.Use
rDataHandler) in org.w3c.dom.Node
    [javac] public final class CommentImpl extends CharacterDataImpl implements
Comment {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\DOMImplementati
onImpl.java:32: org.apache.xindice.xml.dom.DOMImplementationImpl is not abstract
 and does not override abstract method getFeature(java.lang.String,java.lang.Str
ing) in org.w3c.dom.DOMImplementation
    [javac] public final class DOMImplementationImpl implements DOMImplementatio
n {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\DocumentFragmen
tImpl.java:29: org.apache.xindice.xml.dom.DocumentFragmentImpl is not abstract a
nd does not override abstract method setUserData(java.lang.String,java.lang.Obje
ct,org.w3c.dom.UserDataHandler) in org.w3c.dom.Node
    [javac] public final class DocumentFragmentImpl extends ContainerNodeImpl im
plements DocumentFragment {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\DocumentImpl.ja
va:57: org.apache.xindice.xml.dom.DocumentImpl is not abstract and does not over
ride abstract method setUserData(java.lang.String,java.lang.Object,org.w3c.dom.U
serDataHandler) in org.w3c.dom.Node
    [javac] public final class DocumentImpl extends ContainerNodeImpl
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\DocumentTypeImp
l.java:30: org.apache.xindice.xml.dom.DocumentTypeImpl is not abstract and does
not override abstract method setUserData(java.lang.String,java.lang.Object,org.w
3c.dom.UserDataHandler) in org.w3c.dom.Node
    [javac] public final class DocumentTypeImpl extends NodeImpl implements Docu
mentType {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\ElementImpl.jav
a:43: org.apache.xindice.xml.dom.ElementImpl is not abstract and does not overri
de abstract method setUserData(java.lang.String,java.lang.Object,org.w3c.dom.Use
rDataHandler) in org.w3c.dom.Node
    [javac] public final class ElementImpl extends ContainerNodeImpl implements
Element {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\EntityImpl.java
:29: org.apache.xindice.xml.dom.EntityImpl is not abstract and does not override
 abstract method setUserData(java.lang.String,java.lang.Object,org.w3c.dom.UserD
ataHandler) in org.w3c.dom.Node
    [javac] public final class EntityImpl extends NodeImpl implements Entity {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\EntityReference
Impl.java:36: org.apache.xindice.xml.dom.EntityReferenceImpl is not abstract and
 does not override abstract method setUserData(java.lang.String,java.lang.Object
,org.w3c.dom.UserDataHandler) in org.w3c.dom.Node
    [javac] public final class EntityReferenceImpl extends NodeImpl implements E
ntityReference {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\NotationImpl.ja
va:29: org.apache.xindice.xml.dom.NotationImpl is not abstract and does not over
ride abstract method setUserData(java.lang.String,java.lang.Object,org.w3c.dom.U
serDataHandler) in org.w3c.dom.Node
    [javac] public final class NotationImpl extends NodeImpl implements Notation
 {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\dom\ProcessingInstr
uctionImpl.java:36: org.apache.xindice.xml.dom.ProcessingInstructionImpl is not
abstract and does not override abstract method setUserData(java.lang.String,java
.lang.Object,org.w3c.dom.UserDataHandler) in org.w3c.dom.Node
    [javac] public final class ProcessingInstructionImpl extends NodeImpl implem
ents ProcessingInstruction {
    [javac]              ^
    [javac] D:\Xindice-1.1b5\java\src\org\apache\xindice\xml\jaxp\DocumentBuilde
rFactoryImpl.java:32: org.apache.xindice.xml.jaxp.DocumentBuilderFactoryImpl is
not abstract and does not override abstract method getFeature(java.lang.String)
in javax.xml.parsers.DocumentBuilderFactory
    [javac] public class DocumentBuilderFactoryImpl extends DocumentBuilderFacto
ry {
    [javac]        ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 14 errors

BUILD FAILED
file:D:/Xindice-1.1b5/build.xml:102: Compile failed; see the compiler error outp
ut for details.

Total time: 8 seconds

D:\Xindice-1.1b5>
==================================================================


any ideas how to fix these errors...

thanks

laxma

On 4/14/05, Murray Altheim <[email protected]> wrote:
> Laxma Reddy Dendi wrote:
> > i tried xindice 1.1b3 & 1.1b4 soruce with JDK1.5 and both failed to compile.
> 
> It would be very helpful if you could provide any information
> on what actually happened when you tried to compile it, i.e.,
> which packages or classes failed, and why. A stacktrace would
> be fine in this regard. Sometimes these things are due to an
> individual's platform, specific installation, classpath settings,
> etc.
> 
> If I remember correctly, Vadim suggested that I not use 1.1b3 as
> it has some problems, so we'd really only need know about 1.1b4.
> 
> If you didn't keep track of that info, that's okay. Just wondering
> if you had. My own targets don't currently include JDK 1.5 so I
> won't be testing for compatibility myself.
> 
> Thanks,
> 
> Murray
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.