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

JRE 8U25 and 8u31 b32 cannot launch Java Web Start with proxy pac but works fine for 7u67

    XMLWordPrintable

Details

    • b52

    Backports

      Description

        The method PACFunctionImpl.myIpAddress() always returns loop back address, (i.e. 127.0.0.1) instead of real value due to lack of permission
        Fix:
         - PACFunctionImpl.myIpAddress() should be executed inside doPrivileged block
         - It is necessary to explicitly cast the results returned by PACFunctionImpl.myIpAddress() and PACFunctionImpl.dnsResolve() to JavaScript strings, since Rhino script engine "doesn't like" Java String

        Attachments

          Issue Links

            Activity

              People

                dmarkov Dmitry Markov
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: