diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-05-15 23:53:56 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-05-15 23:53:56 +0000 |
commit | 86dcea5c7a52542294c97de392803937ec111cc4 (patch) | |
tree | 09fee9460bece1c50eafaa981e3da6030f7d4695 /java/openjdk8/files/patch-jdk-src-share-classes-sun-applet-AppletPanel.java | |
parent | - Update devel/libestr from 0.1.8 to 0.1.9 (diff) |
Add support for java/icedtea-web. Clean up some patches while I am here.
Notes
Notes:
svn path=/head/; revision=354182
Diffstat (limited to 'java/openjdk8/files/patch-jdk-src-share-classes-sun-applet-AppletPanel.java')
-rw-r--r-- | java/openjdk8/files/patch-jdk-src-share-classes-sun-applet-AppletPanel.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-jdk-src-share-classes-sun-applet-AppletPanel.java b/java/openjdk8/files/patch-jdk-src-share-classes-sun-applet-AppletPanel.java new file mode 100644 index 000000000000..d83e9c730707 --- /dev/null +++ b/java/openjdk8/files/patch-jdk-src-share-classes-sun-applet-AppletPanel.java @@ -0,0 +1,40 @@ +--- jdk/src/share/classes/sun/applet/AppletPanel.java ++++ jdk/src/share/classes/sun/applet/AppletPanel.java +@@ -68,7 +68,7 @@ + /** + * The applet (if loaded). + */ +- Applet applet; ++ protected Applet applet; + + /** + * Applet will allow initialization. Should be +@@ -162,7 +162,8 @@ + * Creates a thread to run the applet. This method is called + * each time an applet is loaded and reloaded. + */ +- synchronized void createAppletThread() { ++ //Overridden by NetxPanel. ++ protected synchronized void createAppletThread() { + // Create a thread group for the applet, and start a new + // thread to load the applet. + String nm = "applet-" + getCode(); +@@ -306,7 +307,7 @@ + /** + * Get an event from the queue. + */ +- synchronized AppletEvent getNextEvent() throws InterruptedException { ++ protected synchronized AppletEvent getNextEvent() throws InterruptedException { + while (queue == null || queue.isEmpty()) { + wait(); + } +@@ -692,7 +693,8 @@ + * applet event processing so that it can be gracefully interrupted from + * things like HotJava. + */ +- private void runLoader() { ++ //Overridden by NetxPanel. ++ protected void runLoader() { + if (status != APPLET_DISPOSE) { + showAppletStatus("notdisposed"); + return; |