Jnode 0.2.5-3629 BUILD FAILED at java/security/cert/X509CertSelector.java on Fedora 8 with IcedTea

Project:JNode Core
Component:Code
Category:bug report
Priority:minor
Assigned:Exile In Paradise
Status:closed
Description

I just grabbed a new source tree from SVN, and tried a build of Jnode 0.2.5 r3629 using Fedora 8 and the IcedTea.
The Fedora 8 release notes state that IcedTea is mostly there, "except for some crypto stuff" which I may have just found.
Oh well, it was worth a shot. I reported this here just to capture it, and listed as minor because this probably isn't how Jnode was intended to be built.
If I figure out a patch or workaround, I will post them as well.

Fedora release 8 (Werewolf)
Linux Werewolf 2.6.23.8-63.fc8 #1 SMP Wed Nov 21 18:51:08 EST 2007 i686 i686 i386 GNU/Linux

java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Client VM (build 1.7.0-b21, mixed mode)

java-1.7.0-icedtea-1.7.0.0-0.19.b21.snapshot.fc8
java-1.7.0-icedtea-demo-1.7.0.0-0.19.b21.snapshot.fc8
java-1.7.0-icedtea-devel-1.7.0.0-0.19.b21.snapshot.fc8
java-1.7.0-icedtea-javadoc-1.7.0.0-0.19.b21.snapshot.fc8
java-1.7.0-icedtea-plugin-1.7.0.0-0.19.b21.snapshot.fc8
java-1.7.0-icedtea-src-1.7.0.0-0.19.b21.snapshot.fc8

compile:
[jnode.compile] Compiling 14076 source files to core/build/classes
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1958: incompatible types
[jnode.compile] found : sun.security.x509.PrivateKeyUsageExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return impl.getPrivateKeyUsageExtension();
[jnode.compile] ^
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1960: incompatible types
[jnode.compile] found : sun.security.x509.SubjectAlternativeNameExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return impl.getSubjectAlternativeNameExtension();
[jnode.compile] ^
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1962: incompatible types
[jnode.compile] found : sun.security.x509.NameConstraintsExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return impl.getNameConstraintsExtension();
[jnode.compile] ^
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1964: incompatible types
[jnode.compile] found : sun.security.x509.CertificatePoliciesExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return impl.getCertificatePoliciesExtension();
[jnode.compile] ^
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1966: incompatible types
[jnode.compile] found : sun.security.x509.ExtendedKeyUsageExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return impl.getExtendedKeyUsageExtension();
[jnode.compile] ^
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1980: incompatible types
[jnode.compile] found : sun.security.x509.PrivateKeyUsageExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return new PrivateKeyUsageExtension(FALSE, encoded);
[jnode.compile] ^
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1985: incompatible types
[jnode.compile] found : sun.security.x509.SubjectAlternativeNameExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return new SubjectAlternativeNameExtension(FALSE, encoded);
[jnode.compile] ^
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1987: incompatible types
[jnode.compile] found : sun.security.x509.NameConstraintsExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return new NameConstraintsExtension(FALSE, encoded);
[jnode.compile] ^
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1989: incompatible types
[jnode.compile] found : sun.security.x509.CertificatePoliciesExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return new CertificatePoliciesExtension(FALSE, encoded);
[jnode.compile] ^
[jnode.compile] core/src/openjdk/java/java/security/cert/X509CertSelector.java:1991: incompatible types
[jnode.compile] found : sun.security.x509.ExtendedKeyUsageExtension
[jnode.compile] required: java.security.cert.Extension
[jnode.compile] return new ExtendedKeyUsageExtension(FALSE, encoded);
[jnode.compile] ^
[jnode.compile] Note: Some input files use or override a deprecated API.
[jnode.compile] Note: Recompile with -Xlint:deprecation for details.
[jnode.compile] Note: Some input files use unchecked or unsafe operations.
[jnode.compile] Note: Recompile with -Xlint:unchecked for details.
[jnode.compile] 10 errors

BUILD FAILED
all/build.xml:168: The following error occurred while executing this line:
all/lib/jnode.xml:65: The following error occurred while executing this line:
core/build.xml:116: Compile failed; see the compiler error output for details.

#1

Status:active» closed

Eventually, the upstream JVM builders should sort this out.
It's a side effect of building on OpenJDK and Classpath as OpenJDK transitions to open-source.