diff options
Diffstat (limited to 'lang/openjdk7/patches/patch-as')
-rw-r--r-- | lang/openjdk7/patches/patch-as | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/lang/openjdk7/patches/patch-as b/lang/openjdk7/patches/patch-as new file mode 100644 index 00000000000..0a88cb9999e --- /dev/null +++ b/lang/openjdk7/patches/patch-as @@ -0,0 +1,59 @@ +$NetBSD: patch-as,v 1.1.1.1 2009/10/14 11:26:15 tnn Exp $ + +--- jdk/src/share/classes/sun/applet/AppletViewerPanel.java.orig 2009-09-17 09:52:11.000000000 +0200 ++++ jdk/src/share/classes/sun/applet/AppletViewerPanel.java +@@ -42,25 +42,25 @@ import sun.tools.jar.*; + * + * @author Arthur van Hoff + */ +-class AppletViewerPanel extends AppletPanel { ++public class AppletViewerPanel extends AppletPanel { + + /* Are we debugging? */ +- static boolean debug = false; ++ protected static boolean debug = false; + + /** + * The document url. + */ +- URL documentURL; ++ protected URL documentURL; + + /** + * The base url. + */ +- URL baseURL; ++ protected URL baseURL; + + /** + * The attributes of the applet. + */ +- Hashtable atts; ++ protected Hashtable atts; + + /* + * JDK 1.1 serialVersionUID +@@ -70,7 +70,7 @@ class AppletViewerPanel extends AppletPa + /** + * Construct an applet viewer and start the applet. + */ +- AppletViewerPanel(URL documentURL, Hashtable atts) { ++ protected AppletViewerPanel(URL documentURL, Hashtable atts) { + this.documentURL = documentURL; + this.atts = atts; + +@@ -202,12 +202,12 @@ class AppletViewerPanel extends AppletPa + return (AppletContext)getParent(); + } + +- static void debug(String s) { ++ protected static void debug(String s) { + if(debug) + System.err.println("AppletViewerPanel:::" + s); + } + +- static void debug(String s, Throwable t) { ++ protected static void debug(String s, Throwable t) { + if(debug) { + t.printStackTrace(); + debug(s); |