/hg/release/icedtea6-1.8: 6 new changesets
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Wed Nov 24 06:59:07 PST 2010
changeset 330ee084669d in /hg/release/icedtea6-1.8
details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=330ee084669d
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed Nov 17 17:18:19 2010 +0000
RH645843, CVE-2010-3860: Don't expose system properties via public
variables.
2010-11-12 Andrew John Hughes <ahughes at redhat.com>
* NEWS: Updated.
2010-11-11 Omair Majid <omajid at redhat.com>
RH645843, CVE-2010-3860
* netx/net/sourceforge/jnlp/runtime/Boot.java,
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java,
* netx/net/sourceforge/jnlp/security/SecurityUtil.java,
* netx/net/sourceforge/jnlp/services/SingleInstanceLock.java,
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java,
* plugin/icedteanp/java/sun/applet/PluginMain.java: Fix
exposure of system properties.
changeset 5879df03ebdd in /hg/release/icedtea6-1.8
details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=5879df03ebdd
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed Nov 17 14:24:45 2010 +0000
PR592: Sanitize user-entered values used in desktop entries.
2010-11-12 Omair Majid <omajid at redhat.com>
PR592
* NEWS: Updated.
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java:
(getContentsAsReader()): Call sanitize on user-inputted values.
(sanitize(String)): Sanitize values used in desktop entries.
changeset fc00c9742a82 in /hg/release/icedtea6-1.8
details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=fc00c9742a82
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed Nov 17 17:19:47 2010 +0000
Bump to 1.8.3 proper and add release date.
2010-11-17 Andrew John Hughes <ahughes at redhat.com>
* configure.ac: Bump to 1.8.3 proper.
* NEWS: Add release date.
changeset 4f06af1897c3 in /hg/release/icedtea6-1.8
details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=4f06af1897c3
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed Nov 17 21:03:51 2010 +0000
Split the patching of the applet class files into a separate patch,
applied to all builds.
2010-11-17 Andrew John Hughes <ahughes at redhat.com>
* Makefile.am: Add applet hole patch for all builds.
* patches/applet_hole.patch: Split applet class patching into
separate file to be applied in all builds.
* patches/extensions/netx.patch: Include only the Makefile
additions to build the jaxws binary and documentation.
changeset 04120b5ea4c3 in /hg/release/icedtea6-1.8
details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=04120b5ea4c3
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed Nov 24 14:57:23 2010 +0000
Added tag icedtea6-1.8.3 for changeset 4f06af1897c3
changeset adb3cb07d6fd in /hg/release/icedtea6-1.8
details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=adb3cb07d6fd
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed Nov 24 14:58:50 2010 +0000
Prepare for 1.8.4.
2010-11-24 Andrew John Hughes <ahughes at redhat.com>
* configure.ac: Bump to 1.8.4pre.
* NEWS: Add 1.8.4 section.
diffstat:
13 files changed, 245 insertions(+), 147 deletions(-)
.hgtags | 1
ChangeLog | 45 +++++
Makefile.am | 3
NEWS | 8
configure.ac | 2
netx/net/sourceforge/jnlp/runtime/Boot.java | 4
netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java | 59 +++++-
netx/net/sourceforge/jnlp/security/SecurityUtil.java | 24 +-
netx/net/sourceforge/jnlp/services/SingleInstanceLock.java | 2
netx/net/sourceforge/jnlp/util/XDesktopEntry.java | 24 ++
patches/applet_hole.patch | 108 ++++++++++++
patches/extensions/netx.patch | 108 ------------
plugin/icedteanp/java/sun/applet/PluginMain.java | 4
diffs (truncated from 566 to 500 lines):
diff -r 74a5c2ed67d3 -r adb3cb07d6fd .hgtags
--- a/.hgtags Tue Nov 16 12:39:47 2010 +0000
+++ b/.hgtags Wed Nov 24 14:58:50 2010 +0000
@@ -23,3 +23,4 @@ a0120629678b904ef41bcac470b9025dc777ff03
a0120629678b904ef41bcac470b9025dc777ff03 icedtea6-1.8
1419166fcebf45ac187cfe2a4e1a45548cdeb5bd icedtea6-1.8.1
e96213dd3cd67306ded33a13319e8681728c7299 icedtea6-1.8.2
+4f06af1897c3feff8708ff35a94df642f363d190 icedtea6-1.8.3
diff -r 74a5c2ed67d3 -r adb3cb07d6fd ChangeLog
--- a/ChangeLog Tue Nov 16 12:39:47 2010 +0000
+++ b/ChangeLog Wed Nov 24 14:58:50 2010 +0000
@@ -1,3 +1,48 @@ 2010-11-16 Andrew John Hughes <ahughes
+2010-11-24 Andrew John Hughes <ahughes at redhat.com>
+
+ * configure.ac: Bump to 1.8.4pre.
+ * NEWS: Add 1.8.4 section.
+
+2010-11-17 Andrew John Hughes <ahughes at redhat.com>
+
+ * Makefile.am:
+ Add applet hole patch for all builds.
+ * patches/applet_hole.patch:
+ Split applet class patching into separate
+ file to be applied in all builds.
+ * patches/extensions/netx.patch:
+ Include only the Makefile additions to build
+ the jaxws binary and documentation.
+
+2010-11-17 Andrew John Hughes <ahughes at redhat.com>
+
+ * configure.ac: Bump to 1.8.3 proper.
+ * NEWS: Add release date.
+
+2010-11-12 Omair Majid <omajid at redhat.com>
+
+ PR592
+ * NEWS: Updated.
+ * netx/net/sourceforge/jnlp/util/XDesktopEntry.java:
+ (getContentsAsReader()): Call sanitize on user-inputted values.
+ (sanitize(String)): Sanitize values used in desktop
+ entries.
+
+2010-11-12 Andrew John Hughes <ahughes at redhat.com>
+
+ * NEWS: Updated.
+
+2010-11-11 Omair Majid <omajid at redhat.com>
+
+ RH645843, CVE-2010-3860
+ * netx/net/sourceforge/jnlp/runtime/Boot.java,
+ * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java,
+ * netx/net/sourceforge/jnlp/security/SecurityUtil.java,
+ * netx/net/sourceforge/jnlp/services/SingleInstanceLock.java,
+ * netx/net/sourceforge/jnlp/util/XDesktopEntry.java,
+ * plugin/icedteanp/java/sun/applet/PluginMain.java:
+ Fix exposure of system properties.
+
2010-11-16 Andrew John Hughes <ahughes at redhat.com>
* Makefile.am:
diff -r 74a5c2ed67d3 -r adb3cb07d6fd Makefile.am
--- a/Makefile.am Tue Nov 16 12:39:47 2010 +0000
+++ b/Makefile.am Wed Nov 24 14:58:50 2010 +0000
@@ -353,7 +353,8 @@ ICEDTEA_PATCHES = \
patches/openjdk/6638712-wildcard_types.patch \
patches/openjdk/6650759-missing_inference.patch \
patches/numa_on_early_glibc.patch \
- patches/openjdk/6853592-badwindow-warning-fix.patch
+ patches/openjdk/6853592-badwindow-warning-fix.patch \
+ patches/applet_hole.patch
if WITH_ALT_HSBUILD
ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/openjdk-6886353-ignore_deoptimizealot.patch \
diff -r 74a5c2ed67d3 -r adb3cb07d6fd NEWS
--- a/NEWS Tue Nov 16 12:39:47 2010 +0000
+++ b/NEWS Wed Nov 24 14:58:50 2010 +0000
@@ -8,15 +8,19 @@ GX - http://bugs.gentoo.org/show_bug.cg
CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY
-New in release 1.8.3 (2010-11-XX):
+New in release 1.8.4 (201X-XX-XX):
+
+New in release 1.8.3 (2010-11-24):
* Allow the building of NetX to be disabled.
-* Switch to the IcedTea server for JAXP, JAF and JAXWS tarballs.
+* Security updates
+ - RH645843, CVE-2010-3860: IcedTea System property information leak via public static
* Backports
- S6853592: VM test nsk.regression.b4261880 fails with "X Error of failed request: BadWindow"
inconsistently.
* NetX
- Do not prompt user multiple times for the same certificate.
+ - PR592: NetX can create invalid desktop entry files
New in release 1.8.2 (2010-10-13):
diff -r 74a5c2ed67d3 -r adb3cb07d6fd configure.ac
--- a/configure.ac Tue Nov 16 12:39:47 2010 +0000
+++ b/configure.ac Wed Nov 24 14:58:50 2010 +0000
@@ -1,4 +1,4 @@ AC_INIT([icedtea6],[1.8.3pre],[distro-pk
-AC_INIT([icedtea6],[1.8.3pre],[distro-pkg-dev at openjdk.java.net])
+AC_INIT([icedtea6],[1.8.4pre],[distro-pkg-dev at openjdk.java.net])
AM_INIT_AUTOMAKE([1.9 tar-pax foreign])
AC_CONFIG_FILES([Makefile])
diff -r 74a5c2ed67d3 -r adb3cb07d6fd netx/net/sourceforge/jnlp/runtime/Boot.java
--- a/netx/net/sourceforge/jnlp/runtime/Boot.java Tue Nov 16 12:39:47 2010 +0000
+++ b/netx/net/sourceforge/jnlp/runtime/Boot.java Wed Nov 24 14:58:50 2010 +0000
@@ -230,8 +230,8 @@ public final class Boot implements Privi
*/
private static String getAboutFile() {
- if (new File(JNLPRuntime.NETX_ABOUT_FILE).exists())
- return JNLPRuntime.NETX_ABOUT_FILE;
+ if (new File(JNLPRuntime.getAboutFile()).exists())
+ return JNLPRuntime.getAboutFile();
else
return null;
}
diff -r 74a5c2ed67d3 -r adb3cb07d6fd netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
--- a/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java Tue Nov 16 12:39:47 2010 +0000
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java Wed Nov 24 14:58:50 2010 +0000
@@ -105,42 +105,42 @@ public class JNLPRuntime {
private static List<String> initialArguments;
/** Username */
- public static final String USER = System.getProperty("user.name");
+ private static final String USER = System.getProperty("user.name");
/** User's home directory */
- public static final String HOME_DIR = System.getProperty("user.home");
+ private static final String HOME_DIR = System.getProperty("user.home");
/** the ~/.netxrc file containing netx settings */
- public static final String NETXRC_FILE = HOME_DIR + File.separator + ".netxrc";
+ private static final String NETXRC_FILE = HOME_DIR + File.separator + ".netxrc";
/** the ~/.netx directory containing user-specific data */
- public static final String NETX_DIR = HOME_DIR + File.separator + ".netx";
+ private static final String NETX_DIR = HOME_DIR + File.separator + ".netx";
/** the ~/.netx/security directory containing security related information */
- public static final String SECURITY_DIR = NETX_DIR + File.separator + "security";
+ private static final String SECURITY_DIR = NETX_DIR + File.separator + "security";
/** the ~/.netx/security/trusted.certs file containing trusted certificates */
- public static final String CERTIFICATES_FILE = SECURITY_DIR + File.separator + "trusted.certs";
+ private static final String CERTIFICATES_FILE = SECURITY_DIR + File.separator + "trusted.certs";
/** the /tmp/ directory used for temporary files */
- public static final String TMP_DIR = System.getProperty("java.io.tmpdir");
+ private static final String TMP_DIR = System.getProperty("java.io.tmpdir");
/**
* the /tmp/$USER/netx/locks/ directory containing locks for single instance
* applications
*/
- public static final String LOCKS_DIR = TMP_DIR + File.separator + USER + File.separator
+ private static final String LOCKS_DIR = TMP_DIR + File.separator + USER + File.separator
+ "netx" + File.separator + "locks";
/** the java.home directory */
- public static final String JAVA_HOME_DIR = System.getProperty("java.home");
-
+ private static final String JAVA_HOME_DIR = System.getProperty("java.home");
+
/** the JNLP file to open to display the network-based about window */
- public static final String NETX_ABOUT_FILE = JAVA_HOME_DIR + File.separator + "lib"
+ private static final String NETX_ABOUT_FILE = JAVA_HOME_DIR + File.separator + "lib"
+ File.separator + "about.jnlp";
-
-
+
+
/**
* Returns whether the JNLP runtime environment has been
* initialized. Once initialized, some properties such as the
@@ -558,7 +558,38 @@ public class JNLPRuntime {
public static List<String> getInitialArguments() {
return initialArguments;
}
-
+
+ /** Get the location of the certificate files user-level used by netx */
+ public static String getCertificatesFile() {
+ System.getProperty("user.home");
+ return CERTIFICATES_FILE;
+ }
+
+ /** Get the home directory */
+ public static String getHomeDir() {
+ System.getProperty("user.home");
+ return HOME_DIR;
+ }
+
+ /** Get the location of the about file */
+ public static String getAboutFile() {
+ System.getProperty("java.home");
+ return NETX_ABOUT_FILE;
+ }
+
+ /** Get the location of the locks directory */
+ public static String getLocksDir() {
+ System.getProperty("user.home");
+ System.getProperty("java.io.tmpdir");
+ return LOCKS_DIR;
+ }
+
+ /** Get the location of a temporary location */
+ public static String getTempDir() {
+ System.getProperty("java.io.tmpdir");
+ return TMP_DIR;
+ }
+
}
diff -r 74a5c2ed67d3 -r adb3cb07d6fd netx/net/sourceforge/jnlp/security/SecurityUtil.java
--- a/netx/net/sourceforge/jnlp/security/SecurityUtil.java Tue Nov 16 12:39:47 2010 +0000
+++ b/netx/net/sourceforge/jnlp/security/SecurityUtil.java Wed Nov 24 14:58:50 2010 +0000
@@ -46,18 +46,18 @@ import net.sourceforge.jnlp.runtime.JNLP
public class SecurityUtil {
- private static final char[] password = "changeit".toCharArray();
-
- public static String getTrustedCertsFilename() throws Exception{
-
- String homeDir = JNLPRuntime.HOME_DIR;
-
- if (homeDir == null) {
- throw new Exception("Could not access home directory");
- } else {
- return JNLPRuntime.CERTIFICATES_FILE;
- }
- }
+ private static final char[] password = "changeit".toCharArray();
+
+ public static String getTrustedCertsFilename() throws Exception {
+
+ String homeDir = JNLPRuntime.getHomeDir();
+
+ if (homeDir == null) {
+ throw new Exception("Could not access home directory");
+ } else {
+ return JNLPRuntime.getCertificatesFile();
+ }
+ }
public static char[] getTrustedCertsPassword() {
return password;
diff -r 74a5c2ed67d3 -r adb3cb07d6fd netx/net/sourceforge/jnlp/services/SingleInstanceLock.java
--- a/netx/net/sourceforge/jnlp/services/SingleInstanceLock.java Tue Nov 16 12:39:47 2010 +0000
+++ b/netx/net/sourceforge/jnlp/services/SingleInstanceLock.java Wed Nov 24 14:58:50 2010 +0000
@@ -126,7 +126,7 @@ class SingleInstanceLock {
* may or may not exist.
*/
private File getLockFile() {
- File baseDir = new File(JNLPRuntime.LOCKS_DIR);
+ File baseDir = new File(JNLPRuntime.getLocksDir());
if (!baseDir.isDirectory() && !baseDir.mkdirs()) {
throw new RuntimeException(R("RNoLockDir", baseDir));
diff -r 74a5c2ed67d3 -r adb3cb07d6fd netx/net/sourceforge/jnlp/util/XDesktopEntry.java
--- a/netx/net/sourceforge/jnlp/util/XDesktopEntry.java Tue Nov 16 12:39:47 2010 +0000
+++ b/netx/net/sourceforge/jnlp/util/XDesktopEntry.java Wed Nov 24 14:58:50 2010 +0000
@@ -77,9 +77,9 @@ public class XDesktopEntry {
String fileContents = "[Desktop Entry]\n";
fileContents += "Version=1.0\n";
- fileContents += "Name=" + file.getTitle() + "\n";
+ fileContents += "Name=" + sanitize(file.getTitle()) + "\n";
fileContents += "GenericName=Java Web Start Application\n";
- fileContents += "Comment=" + file.getInformation().getDescription() + "\n";
+ fileContents += "Comment=" + sanitize(file.getInformation().getDescription()) + "\n";
fileContents += "Type=Application\n";
if (iconLocation != null) {
fileContents += "Icon=" + iconLocation + "\n";
@@ -88,7 +88,7 @@ public class XDesktopEntry {
}
if (file.getInformation().getVendor() != null) {
- fileContents += "Vendor=" + file.getInformation().getVendor() + "\n";
+ fileContents += "Vendor=" + sanitize(file.getInformation().getVendor()) + "\n";
}
//Shortcut executes the jnlp from cache and system preferred java..
@@ -96,6 +96,22 @@ public class XDesktopEntry {
return new StringReader(fileContents);
+ }
+
+ /**
+ * Sanitizes a string so that it can be used safely in a key=value pair in a
+ * desktop entry file.
+ *
+ * @param input a String to sanitize
+ * @return a string safe to use as either the key or the value in the
+ * key=value pair in a desktop entry file
+ */
+ private static String sanitize(String input) {
+ if (input == null) {
+ return "";
+ }
+ /* key=value pairs must be a single line */
+ return input.split("\n")[0];
}
/**
@@ -131,7 +147,7 @@ public class XDesktopEntry {
* Install this XDesktopEntry into the user's desktop as a launcher
*/
private void installDesktopLauncher() {
- File shortcutFile = new File(JNLPRuntime.TMP_DIR + File.separator
+ File shortcutFile = new File(JNLPRuntime.getTempDir() + File.separator
+ FileUtils.sanitizeFileName(file.getTitle()) + ".desktop");
try {
diff -r 74a5c2ed67d3 -r adb3cb07d6fd patches/applet_hole.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/applet_hole.patch Wed Nov 24 14:58:50 2010 +0000
@@ -0,0 +1,108 @@
+diff -urN openjdk.orig/jdk/src/share/classes/sun/applet/AppletViewerPanel.java openjdk/jdk/src/share/classes/sun/applet/AppletViewerPanel.java
+--- openjdk.orig/jdk/src/share/classes/sun/applet/AppletViewerPanel.java 2008-01-12 15:53:45.000000000 -0500
++++ openjdk/jdk/src/share/classes/sun/applet/AppletViewerPanel.java 2008-02-04 11:51:20.000000000 -0500
+@@ -42,25 +42,25 @@
+ *
+ * @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 @@
+ /**
+ * 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 @@
+ 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);
+diff -urN openjdk.orig/jdk/src/share/classes/sun/applet/AppletPanel.java openjdk/jdk/src/share/classes/sun/applet/AppletPanel.java
+--- openjdk.orig/jdk/src/share/classes/sun/applet/AppletPanel.java 2008-03-26 04:58:12.000000000 -0400
++++ openjdk/jdk/src/share/classes/sun/applet/AppletPanel.java 2008-04-07 21:55:56.000000000 -0400
+@@ -68,7 +68,7 @@
+ /**
+ * The applet (if loaded).
+ */
+- Applet applet;
++ protected Applet applet;
+
+ /**
+ * Applet will allow initialization. Should be
+@@ -117,7 +117,7 @@
+ /**
+ * The thread for the applet.
+ */
+- Thread handler;
++ protected Thread handler;
+
+
+ /**
+@@ -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();
+ }
+@@ -695,7 +696,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;
diff -r 74a5c2ed67d3 -r adb3cb07d6fd patches/extensions/netx.patch
--- a/patches/extensions/netx.patch Tue Nov 16 12:39:47 2010 +0000
+++ b/patches/extensions/netx.patch Wed Nov 24 14:58:50 2010 +0000
@@ -9,114 +9,6 @@ diff -c openjdk.orig/jdk/make/launchers/
$(call make-launcher, jconsole, sun.tools.jconsole.JConsole, \
-J-Djconsole.showOutputViewer, )
$(call make-launcher, jdb, com.sun.tools.example.debug.tty.TTY, , )
-diff -urN openjdk.orig/jdk/src/share/classes/sun/applet/AppletViewerPanel.java openjdk/jdk/src/share/classes/sun/applet/AppletViewerPanel.java
---- openjdk.orig/jdk/src/share/classes/sun/applet/AppletViewerPanel.java 2008-01-12 15:53:45.000000000 -0500
-+++ openjdk/jdk/src/share/classes/sun/applet/AppletViewerPanel.java 2008-02-04 11:51:20.000000000 -0500
-@@ -42,25 +42,25 @@
- *
- * @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 @@
- /**
- * 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 @@
- 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);
-diff -urN openjdk.orig/jdk/src/share/classes/sun/applet/AppletPanel.java openjdk/jdk/src/share/classes/sun/applet/AppletPanel.java
More information about the distro-pkg-dev
mailing list