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

deploy.jar PAC function broken

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.8.0_121"
      Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      The \deploy.jar com\sun\deploy\net\proxy\pac\PACFunctionsImpl.java
      shExpMatch method is not properly implemented.

      I believe this is closer to what the browsers do:
      https://gist.github.com/ayanamist/2989518#file-unittest-html


      ADDITIONAL REGRESSION INFORMATION:
      java version "1.8.0_112"


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Call the method with shExpMatch("10.*", "hostname10.com") == true
      I believe it has to be false.


      REPRODUCIBILITY :
      This bug can be reproduced always.

            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: