rebuild geeqie
[oi-userland.git] / components / runtime / openjdk-8 / patches / 0003-patch-at.patch
blob27d2787793a6aba93dd64607802ace06e3c5a09b
1 $NetBSD: patch-at,v 1.1 2015/02/08 08:41:25 tnn Exp $
3 --- jdk/src/share/classes/sun/applet/AppletPanel.java.orig 2015-02-02 15:37:12.000000000 +0000
4 +++ jdk/src/share/classes/sun/applet/AppletPanel.java
5 @@ -61,7 +61,7 @@ abstract class AppletPanel extends Panel
6 /**
7 * The applet (if loaded).
8 */
9 - Applet applet;
10 + protected Applet applet;
12 /**
13 * Applet will allow initialization. Should be
14 @@ -157,7 +157,8 @@ abstract class AppletPanel extends Panel
15 * Creates a thread to run the applet. This method is called
16 * each time an applet is loaded and reloaded.
18 - synchronized void createAppletThread() {
19 + //Overridden by NetxPanel.
20 + protected synchronized void createAppletThread() {
21 // Create a thread group for the applet, and start a new
22 // thread to load the applet.
23 String nm = "applet-" + getCode();
24 @@ -304,7 +305,7 @@ abstract class AppletPanel extends Panel
25 /**
26 * Get an event from the queue.
28 - synchronized AppletEvent getNextEvent() throws InterruptedException {
29 + protected synchronized AppletEvent getNextEvent() throws InterruptedException {
30 while (queue == null || queue.isEmpty()) {
31 wait();
33 @@ -698,7 +699,8 @@ abstract class AppletPanel extends Panel
34 * applet event processing so that it can be gracefully interrupted from
35 * things like HotJava.
37 - private void runLoader() {
38 + //Overridden by NetxPanel.
39 + protected void runLoader() {
40 if (status != APPLET_DISPOSE) {
41 showAppletStatus("notdisposed");
42 return;