Mercurial > hg > release > icedtea6-1.13
changeset 2238:518927fb2498
2010-08-23 Andrew Su <asu@redhat.com>
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
(parse): Removed parsing for unknown <app> tag.
author | Andrew Su <asu@redhat.com> |
---|---|
date | Mon, 23 Aug 2010 15:23:46 -0400 |
parents | fa8c9bfd3da5 |
children | 6f017e9047ab |
files | ChangeLog plugin/icedteanp/java/sun/applet/PluginAppletViewer.java |
diffstat | 2 files changed, 5 insertions(+), 34 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Aug 20 17:22:24 2010 -0400 +++ b/ChangeLog Mon Aug 23 15:23:46 2010 -0400 @@ -1,3 +1,8 @@ +2010-08-23 Andrew Su <asu@redhat.com> + + * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java + (parse): Removed parsing for unknown <app> tag. + 2010-08-20 Omair Majid <omajid@redhat.com> * netx/net/sourceforge/jnlp/JNLPFile.java
--- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Fri Aug 20 17:22:24 2010 -0400 +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java Mon Aug 23 15:23:46 2010 -0400 @@ -2124,40 +2124,6 @@ atts.put("heightPercentage", Integer.parseInt(h.substring(0, h.length() -1))); } } - else if (nm.equalsIgnoreCase("app")) { - statusMsgStream.println(appNotLongerSupportedWarning); - Hashtable atts2 = scanTag(in); - nm = (String)atts2.get("class"); - if (nm != null) { - atts2.remove("class"); - atts2.put("code", nm + ".class"); - } - nm = (String)atts2.get("src"); - if (nm != null) { - atts2.remove("src"); - atts2.put("codebase", nm); - } - if (atts2.get("width") == null || !isInt(atts2.get("width"))) { - atts2.put("width", "1000"); - atts2.put("widthPercentage", 100); - } else if (((String) atts.get("width")).endsWith("%")) { - String w = (String) atts.get("width"); - atts2.put("width", "100"); - atts2.put("widthPercentage", Integer.parseInt(w.substring(0, w.length() -1))); - } - - if (atts2.get("height") == null || !isInt(atts2.get("height"))) { - atts2.put("height", "1000"); - atts2.put("heightPercentage", 100); - } else if (((String) atts.get("height")).endsWith("%")) { - String h = (String) atts.get("height"); - atts2.put("height", "100"); - atts2.put("heightPercentage", Integer.parseInt(h.substring(0, h.length() -1))); - } - - printTag(statusMsgStream, atts2); - statusMsgStream.println(); - } } } }