Duplicate :
|
|
Relates :
|
|
Relates :
|
Certain JVM tools may access InetAddress and initialise its static members during start-up resulting in a NameService configuration being already set to the default PlatformNameService, causing issues in the following tests which expects the use of HostsFileNameService instead: sun/security/krb5/canonicalize/Test.java and sun/security/x509/URICertStore/ExtensionsWithLDAP.java ExtensionsWithLDAP.java log file snippet: ----------System.err:(13/936)---------- java.lang.RuntimeException: The ldap.host.for.crldp from CRLDP extension is not requested at ExtensionsWithLDAP.main(ExtensionsWithLDAP.java:174) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) at java.base/java.lang.Thread.run(Thread.java:831) ------------------------- canonicalize/Test.java log file snippet: ----------System.err:(14/816)---------- java.lang.Exception: Output is host/c1@THIS.REALM at Test.check(Test.java:65) at Test.main(Test.java:44) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127) at java.base/java.lang.Thread.run(Thread.java:831) JavaTest Message: Test threw exception: java.lang.Exception: Output is host/c1@THIS.REALM -------------------------
|