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

The default ProxySelector should take into account http_proxy/https_proxy/no_proxy environment variables

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      A DESCRIPTION OF THE PROBLEM :
      Currently JVM is the only software that refuses to obey standard https_proxy variable and requires custom configuration using JVM flags.

      PS. This should also work on Windows and take precedence over IE settings. If user is setting this variables they know what they are doing.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      export https_proxy=your.proxy:8080

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Java uses proxy
      ACTUAL -
      Java does not use proxy

      CUSTOMER SUBMITTED WORKAROUND :
      Use JVM flags -Dhttp.proxyHost= -Dhttp.proxyPort=

      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: