Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8039128

Disable SecurityBaseline.backgroundUpdate for JUnit test

    Details

    • Resolved In Build:
      b12

      Backports

        Description

            [junit] network: Updating file at: /Users/java_re/.java/deployment/security/blacklisted.certs from url: https://javadl-esd-secure.oracle.com/update/blacklisted.certs
            [junit] network: Cache entry not found [url: https://javadl-esd-secure.oracle.com:443/crossdomain.xml, version: null] [junit] java.net.NoRouteToHostException: No route to host
            [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
            [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
            [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
            [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
            [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
            [junit] at java.net.Socket.connect(Socket.java:589)
            [junit] at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:649)
            [junit] at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
            [junit] at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
            [junit] at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
            [junit] at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
            [junit] at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
            [junit] at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
            [junit] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
            [junit] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103)
            [junit] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:987)
            [junit] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:985)
            [junit] at java.security.AccessController.doPrivileged(Native Method)
            [junit] at java.security.AccessController.doPrivileged(AccessController.java:713)
            [junit] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:984)
            [junit] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
            [junit] at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
            [junit] at com.sun.deploy.net.CrossDomainXML$3.run(Unknown Source)
            [junit] at java.security.AccessController.doPrivileged(Native Method)
            [junit] at com.sun.deploy.net.CrossDomainXML.privilegedConnect(Unknown Source)
            [junit] at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
            [junit] at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
            [junit] at com.sun.javaws.security.JavaWebStartSecurity.checkURLPermissionHelper(Unknown Source)
            [junit] at com.sun.javaws.security.JavaWebStartSecurity.checkPermission(Unknown Source)
            [junit] at sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission(HttpURLConnection.java:1033)
            [junit] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1424)
            [junit] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
            [junit] at com.sun.deploy.util.SecurityBaseline.checkForUpdate(Unknown Source)
            [junit] at com.sun.deploy.util.SecurityBaseline.access$100(Unknown Source)
            [junit] at com.sun.deploy.util.SecurityBaseline$3.run(Unknown Source)
            [junit] at java.lang.Thread.run(Thread.java:744)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  yaow Yao Wang (Inactive)
                  Reporter:
                  yaow Yao Wang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: