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

    Details

    • Subcomponent:
    • Introduced In Build:
      b06
    • Introduced In Version:
    • Resolved In Build:
      b19
    • OS:
      linux_ubuntu
    • Verification:
      Verified

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: