Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119366 - dev-java/jing fails with xerces-2.7.x
Summary: dev-java/jing fails with xerces-2.7.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 19:53 UTC by Josh Nichols (RETIRED)
Modified: 2006-01-21 21:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Nichols (RETIRED) gentoo-dev 2006-01-17 19:53:38 UTC
The following happens when compiling with xerces-2.7 installed. It's interesting to note that jing is depending on =xerces-1.3*, but the way that ant builds its classpath, it ends up using =xerces-2*.

compile:
    [mkdir] Created dir: /var/tmp/portage/jing-20030619-r1/work/jing-20030619/build
    [javac] Compiling 315 source files to /var/tmp/portage/jing-20030619-r1/work/jing-20030619/build
    [javac] /var/tmp/portage/jing-20030619-r1/work/jing-20030619/src/com/thaiopensource/validate/xerces/ValidatorImpl.java:39: com.thaiopensource.validate.xerces.ValidatorImpl is not abstract and does not override abstract method getXMLVersion() in org.apache.xerces.xni.XMLLocator
    [javac] class ValidatorImpl extends ParserConfigurationSettings implements Validator, ContentHandler, DTDHandler, XMLLocator, XMLEntityResolver, EntityState {
    [javac] ^
    [javac] Note: /var/tmp/portage/jing-20030619-r1/work/jing-20030619/src/com/thaiopensource/relaxng/util/JingTask.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

I'm really tempted to just throw UnsupportedOperationException for the new method. I may just do that, unless there is a serious objection.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-01-21 21:30:52 UTC
Fixed in CVS.