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

8u40: URL.openConnection fails with exception if "use browser settings" is set and browser itself uses system settings

XMLWordPrintable

    • b06
    • b19
    • linux_ubuntu
    • Verified

        Issue appears since 8u40 b06
        It looks like issue has been caused by fix 8054455 " javaws fails to get proxy from browser settings if browser is set to use system proxy ( linux )"

        URL.openConnection() call made inside sandboxed application fails with:
          java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "getenv.http_proxy")

        Probably we need to add by default permissions "java.lang.RuntimePermission" "getenv.http_proxy" to be able to read system proxy settings for fix 8054455

              vdrozdov Victor Drozdov (Inactive)
              dgubkin Dmitriy Gubkin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: