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

Java fails to parse proxy.pac variable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8u25
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :
      Version 8 Update 25

      ADDITIONAL OS VERSION INFORMATION :
      ver 7 Enterprise

      A DESCRIPTION OF THE PROBLEM :
      In Internet explorer 9 when running the Java plugin fails to parse the following entry in the proxy.pac:

      var OutsideNetwork = !isInNet(dnsResolve("in-or-out-pgn-check.test.com"), "1.1.1.1", "255.255.255.255");

      This result that the java applet in Internet explorers goes direct and fails as it needs to go via the proxy.

      The bug can easily be simulated by placing the entyr above the entries that assign the proxies in the PAC file. If you remove the entry or place it at the bottom it works.

      ADDITIONAL REGRESSION INFORMATION:
      java version "1.8.0_25"
      Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
      Java HotSpot(TM) Client VM (build 25.25-b02, mixed mode, sharing)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      The bug can easily be simulated by placing the line with the variable above the entries that assign the proxies in the PAC file. If you remove the entry or place it at the bottom it works.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The expected result is that the line has no influence on the parsing of the PAC file as it just sets a variable. The xepocted behaviour is that Java continues to parse the PAC file and starts using the assigned proxies
      ACTUAL -
      Java stops parsing the PAC file after the line and does not use proxies anymore but goes direct, resulting it being blocked by our firewall

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Workaround is to move the variable to the bottom of the PAC file, but that is not really what we want as it causes some other issues

        Attachments

          Activity

            People

            • Assignee:
              almatvee Alexander Matveev
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: