-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Add a test like this to `PemTest`:
@Test public void testParsePemX509CertificateCacert() throws Exception { URL url = PemTest.class.getResource("/ca/cacert.pem"); byte[] bytes = Files.readAllBytes(Paths.get(url.toURI())); assertNotNull(Pem.parsePemX509Certificate(CodePointIterator.ofUtf8Bytes(bytes))); }
Run the test with IBM JDK
export JAVA_HOME=path/to/ibm/java8 $JAVA_HOME/bin/java -version java version "1.8.0" Java(TM) SE Runtime Environment (build pxa6480sr3fp12-20160919_01(SR3 FP12)) IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20160915_318796 (JIT enabled, AOT enabled) J9VM - R28_Java8_SR3_20160915_0912_B318796 JIT - tr.r14.java.green_20160818_122998 GC - R28_Java8_SR3_20160915_0912_B318796_CMPRSS J9CL - 20160915_318796) JCL - 20160914_01 based on Oracle jdk8u101-b13 mvn clean test -Dtest=PemTest#testParsePemX509CertificateCacert
Expected: The test should pass on IBM JDK just as it passes on Oracle/OpenJDK
Actual: The test hangs on IBM JDK
- causes
-
ELY-1292 XmlConfigurationTest.testCertificateInCredentials hangs on IBM JDK
- Resolved