Attached is ebuild for iso-relax-20041111-r1 (required by Resin 3.0.13 source ebuild) and a patch for iso-relax. javac error: release: [mkdir] Created dir: /home/nelchael/tmp/jaba/temp [javac] Compiling 44 source files to /home/nelchael/tmp/jaba/temp [javac] /home/nelchael/tmp/jaba/src/org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.java:15: org.iso_relax.jaxp.ValidatingDocumentBuilderFactory is not abstract and does not override abstract method getFeature(java.lang.String) in javax.xml.parsers.DocumentBuilderFactory [javac] public class ValidatingDocumentBuilderFactory extends DocumentBuilderFactory [javac] ^ [javac] Note: * uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error
Created attachment 62477 [details] iso-relax-20041111-r1.ebuild Ebuild with epatch.
Created attachment 62478 [details, diff] files/isorelax-20041111-src.diff Patch for iso-relax.
Created attachment 62490 [details, diff] files/isorelax-20041111-src.diff Backported from iso-relax CVS to fix compilation on 1.5
I've tested this patch with Sun's JDK 1.4.2_08 - it works ok.
I agree for the ebuild and patch provided here. They solved my problem. Please, add this to portage, thanks :-)
i don't agree, especialy since it doesn't seem too be the only changes upstream made too 'fix' it
(In reply to comment #6) > i don't agree, especialy since it doesn't seem too be the only changes upstream > made too 'fix' it There are two solutions: 1. commit as isorelax-20041111-r1 with above patch 2. roll a new release from CVS Preferred?
Latest iso-relax ebuild in portage solved the problems for me. Could you check this and, if aproppriate, close this bug? Thanks.
(In reply to comment #8) > Latest iso-relax ebuild in portage solved the problems for me. > Could you check this and, if aproppriate, close this bug? > Thanks. The ebuild has not been changed in over a month. It does not seem to compile here. Are you sure that you haven't recently updated your 1.4 jdk and with that switched your system vm? This problem should be solved after we move the new java 1.5 stuff the the official tree. I don't yet have accurate information on when that will happen.
I'm currently using sun-jdk-1.4.2.08-r1 updated a week ago in gentoo ~x86. I'm not sure if this package (or others) could affected this.
Problem still present The build works with blackdown-jdk-1.4.2.02, causes the messages above with sun-jdk-1.5.0.04
We will force it too compile with 1.4 untill they make a new release that supports 1.5
Created attachment 68294 [details, diff] files/isorelax-20041111-src.diff relaying OK, I should read bugs first and try solutions later. ;-) The solution mentioned in attachment #62490 [details, diff] from comment #3 has the benefit that it would compile with older versions as well. But as I read the API docu, there is at least one feature where no exception may be thrown, namely FEATURE_SECURE_PROCESSING. So in my opinion the cleaner solution would be to relay those methods to the wrapped object, as in my patch. Downside is that this can only compile using java5. I proposed this upstream as well, unfortunately without having a look at the CVS first, where the throwing solution is still used.
Re-opening.
Fixed with version 20050331.