1 $NetBSD: patch-as,v 1.1 2015/02/08 08:41:25 tnn Exp $
3 --- jdk/src/share/classes/sun/applet/AppletViewerPanel.java.orig 2015-02-02 15:37:12.000000000 +0000
4 +++ jdk/src/share/classes/sun/applet/AppletViewerPanel.java
5 @@ -42,25 +42,25 @@ import sun.tools.jar.*;
7 * @author Arthur van Hoff
9 -class AppletViewerPanel extends AppletPanel {
10 +public class AppletViewerPanel extends AppletPanel {
12 /* Are we debugging? */
13 - static boolean debug = false;
14 + protected static boolean debug = false;
20 + protected URL documentURL;
26 + protected URL baseURL;
29 * The attributes of the applet.
32 + protected Hashtable<String,String> atts;
35 * JDK 1.1 serialVersionUID
36 @@ -70,7 +70,7 @@ class AppletViewerPanel extends AppletPa
38 * Construct an applet viewer and start the applet.
40 - AppletViewerPanel(URL documentURL, Hashtable atts) {
41 + protected AppletViewerPanel(URL documentURL, Hashtable<String,String> atts) {
42 this.documentURL = documentURL;
45 @@ -106,7 +106,7 @@ class AppletViewerPanel extends AppletPa
46 * Get an applet parameter.
48 public String getParameter(String name) {
49 - return (String)atts.get(name.toLowerCase());
50 + return atts.get(name.toLowerCase());
54 @@ -202,12 +202,12 @@ class AppletViewerPanel extends AppletPa
55 return (AppletContext)getParent();
58 - static void debug(String s) {
59 + protected static void debug(String s) {
61 System.err.println("AppletViewerPanel:::" + s);
64 - static void debug(String s, Throwable t) {
65 + protected static void debug(String s, Throwable t) {