updated rhino to 1.7.7.1 and jdk8
This commit is contained in:
parent
dd8f8b6caa
commit
b0ff574e95
5 changed files with 5 additions and 3 deletions
BIN
lib/rhino.jar
BIN
lib/rhino.jar
Binary file not shown.
|
@ -26,6 +26,7 @@ import java.io.*;
|
|||
import java.security.*;
|
||||
import java.util.*;
|
||||
|
||||
import helma.util.Base64;
|
||||
import org.apache.xmlrpc.XmlRpcResponseProcessor;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue