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

Test fails with "illegal URL redirect" when loaded a second time.

XMLWordPrintable

      Test when loaded a second time has an illegal URL redirect error:

      basic: exception: illegal URL redirect.
      java.lang.SecurityException: illegal URL redirect
          at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
          at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
          at com.sun.deploy.net.BasicHttpRequest.doHeadRequestEX(Unknown Source)
          at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown
      Source)
          at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown
      Source)
          at com.sun.deploy.cache.DeployCacheHandler.get(Unknown Source)
          at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown
      Source)
          at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
          at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
          at java.security.AccessController.doPrivileged(Native Method)

      Last working version was 8u202, issue started with 8u212 upgrade.

            dmarkov Dmitry Markov
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: