updated rhino to 1.7.7.1 and jdk8

This commit is contained in:
Robert Gaggl 2016-12-05 13:32:46 +01:00 committed by Robert Gaggl
parent dd8f8b6caa
commit b0ff574e95
5 changed files with 5 additions and 3 deletions

Binary file not shown.

View file

@ -26,6 +26,7 @@ import java.io.*;
import java.security.*;
import java.util.*;
import helma.util.Base64;
import org.apache.xmlrpc.XmlRpcResponseProcessor;
/**

View file

@ -35,7 +35,7 @@ public class PathWrapper extends ScriptableObject {
/**
* Zero arg constructor for creating the PathWrapper prototype.
*/
public PathWrapper (RhinoCore core) throws PropertyException, NoSuchMethodException {
public PathWrapper (RhinoCore core) throws RhinoException, NoSuchMethodException {
this.core = core;
// create a dummy path object
this.path = new RequestPath(core.app);

View file

@ -89,8 +89,8 @@ public final class RhinoCore implements ScopeProvider {
// optimization level for rhino engine, ranges from -1 to 9
int optLevel = 0;
// language version - default to JS 1.7
int languageVersion = 170;
// language version - default to JS 1.8
int languageVersion = 180;
// debugger/tracer flags
boolean hasDebugger = false;

View file

@ -29,6 +29,7 @@ import java.security.NoSuchAlgorithmException;
import javax.servlet.*;
import javax.servlet.http.*;
import helma.util.Base64;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.servlet.ServletFileUpload;