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

    • generic
    • generic

      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


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

              Created:
              Updated: