summaryrefslogtreecommitdiff
path: root/BKUApplet/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
Diffstat (limited to 'BKUApplet/src/main/java/at/gv/egiz')
-rw-r--r--BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java
index f6ceacd0..fb71cb0d 100644
--- a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java
+++ b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java
@@ -45,6 +45,7 @@ import at.gv.egiz.stal.service.STALService;
import java.applet.AppletContext;
import java.awt.Color;
import java.awt.Container;
+import javax.swing.text.html.parser.ParserDelegator;
import javax.xml.namespace.QName;
@@ -151,6 +152,13 @@ public class BKUApplet extends JApplet {
log.trace("Called init().");
showStatus("Initializing MOCCA applet.");
+ // workaround to bug, cf.
+ // http://forums.oracle.com/forums/thread.jspa?messageID=7432921
+ // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6993691
+ // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6993073
+ // and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7001786
+ ParserDelegator workaround = new ParserDelegator();
+
HttpsURLConnection.setDefaultSSLSocketFactory(InternalSSLSocketFactory.getInstance());
String locale = getParameter(LOCALE);