appletviewer has no netscape.javascript.JSObject, so applets that touch JavaScript fail to load, and Java 8 denies applets the URLPermission they need to fetch through an HTTP proxy. Add a JSObject stand-in with a working document.cookie and a policy granting HTTP URL access.
11 lines
189 B
Java
11 lines
189 B
Java
package netscape.javascript;
|
|
|
|
public class JSException extends RuntimeException {
|
|
public JSException() {
|
|
}
|
|
|
|
public JSException(String message) {
|
|
super(message);
|
|
}
|
|
}
|