8056978: ClassCastException: cannot cast jdk.nashorn.internal.scripts.JO*
Reviewed-by: jlaskey, sundar
Attempting unprivileged execution...
Unprivileged execution failed with java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.security.policy" "read")
Attempting privileged execution...
Successfully retrieved restricted system property.