building on Debian I get a failure on "Running JUnit test-pki-util"
cd dogtag-pki.git/build/core/base/util/test && mkdir -p reports
cd dogtag-pki.git/build/core/base/util/test &&
/usr/lib/jvm/java-8-openjdk-amd64/bin/java -Djunit.reports.dir=reports
-classpath
:/usr/share/java/slf4j-api.jar:/usr/share/java/slf4j-jdk14.jar:dogtag-pki.git/build/core/dist/pki-nsutil.jar:dogtag-pki.git/build/core/dist/pki-cmsutil.jar:/usr/share/java/jss4.jar:/usr/share/java/ldapjdk.jar:/usr/share/java/commons-codec.jar:/usr/share/java/hamcrest-core.jar:/usr/share/java/junit4.jar:/home/tjaalton/src/pkg-freeipa/dogtag-pki.git/build/core/test/classes
com.netscape.test.TestRunner com.netscape.cmsutil.crypto.KeyIDCodecTest
com.netscape.security.util.BMPStringTest
com.netscape.security.util.IA5StringTest
com.netscape.security.util.PrintableStringTest
com.netscape.security.util.TeletexStringTest
com.netscape.security.util.UniversalStringTest
com.netscape.security.util.UTF8StringTest
com.netscape.security.x509.GenericValueConverterTest
com.netscape.security.x509.IA5StringConverterTest
com.netscape.security.x509.PrintableConverterTest
TestRunner: Test FAILED
and then an example from the results:
<testcase classname="com.netscape.security.x509.PrintableConverterTest"
name="testControlCharacters" time="0.001">
<failure message="java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer;"
type="java.lang.NoSuchMethodError">java.lang.NoSuchMethodError:
java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer;
at
com.netscape.security.x509.PrintableConverterTest.testControlCharacters(PrintableConverterTest.java:73)
how to fix that?
--
t