Java SE 8 update 66 Causes the Following Error with a proxy.pac File 'Exception in thread "Nashorn AST Serializer" java.lang.StackOverflowError' (Doc ID 2120757.1)

Last updated on SEPTEMBER 23, 2017

Applies to:

Java SE JDK and JRE - Version 8 to 8
Information in this document applies to any platform.
When using a very large proxy.pac file with JRE 1.8.0_66, the applet fails to run.

Symptoms

The Java Console log shows that the applet is attempting to run using an incorrect Proxy server.

ACTUAL BEHAVIOR

During the execution of the FindProxyForURL(url, host) function in the proxy.pac file, a the StackOverflowError takes place with the following thread dump:

EXPECTED BEHAVIOR

The application should select the correct Proxy server.

Changes

 The change in behavior was noticed after upgrading to Java SE 8 update 66.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms