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

Automatic configuration script not working

    XMLWordPrintable

Details

    • x86
    • windows_7

    Description

      FULL PRODUCT VERSION :


      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 32 bit
      Windows 7 64 bit

      A DESCRIPTION OF THE PROBLEM :
      In our Company we use a proxysystem for the internet access.

      Since we upgraded from Java 7u67 to Java 7u71/u72 we have problems with the following java configuration settings:

      "automatically detect proxy settings"
      "use automatic confighuration script"

      With these two settings JAVA can't read our wpad. This happens because the new java versions have problems when the function "isInNet" will be used in a wpad - script.

      REGRESSION. Last worked in version 7u67

      ADDITIONAL REGRESSION INFORMATION:
      For additional informations another ticket exists on following URL:

      https://bugs.openjdk.java.net/browse/JDK-8061644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a new WPAD - PAC file with the following content:


      function FindProxyForURL (url, host)
      {
              if (isPlainHostName (host) ||
                      isInNet (host,"192.168.0.0","255.255.0.0")
                      )
                      {
                              return "DIRECT";
                      }

              else
                      {
                              return "PROXY proxyserver:8080;"
                      }
      }


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Java can't read the wpad file.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Actually I deleted all "isinnet" functions from our WPAD script. But this can't be a solution because with Java7u67 this function did work!

      Attachments

        Activity

          People

            nnatu Nakul Natu (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: