Comment 52 for bug 305790

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Chris,

Found the reason for the jaxme build failure that you have mentioned in the debian bug. OpenJDk has it's own implementation of javax.xml.bind.Marshaller and javax.xml.bind.Unmarshaller. Both these implementation contain an abstract method getListener.

$ javap javax.xml.bind.Marshaller |grep getListener
    public abstract javax.xml.bind.Marshaller$Listener getListener();
$ javap javax.xml.bind.Unmarshaller |grep getListener
    public abstract javax.xml.bind.Unmarshaller$Listener getListener();

There are two solutions to this.
1. Make sure that rt.jar is the last file in classpath when package is built. Not sure if this can be achieved from debian/rules file.
2. Patch the files in question from jaxme source to include empty implementations of this method.