~ubuntu-branches/ubuntu/natty/icedtea-web/natty-security

« back to all changes in this revision

Viewing changes to netx/net/sourceforge/jnlp/NetxPanel.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-02-24 12:57:25 UTC
  • mto: (18.1.1 experimental) (19.1.1 natty-security)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20110224125725-8zq5v35r6o27w8ku
Tags: upstream-1.1~20110320
ImportĀ upstreamĀ versionĀ 1.1~20110320

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
package net.sourceforge.jnlp;
24
24
 
 
25
import net.sourceforge.jnlp.AppletLog;
25
26
import net.sourceforge.jnlp.runtime.AppThreadGroup;
26
27
import net.sourceforge.jnlp.runtime.AppletInstance;
27
28
import net.sourceforge.jnlp.runtime.JNLPRuntime;
68
69
        super.run();
69
70
    }
70
71
 
 
72
    @Override
 
73
    protected void showAppletException(Throwable t) {
 
74
        /*
 
75
         * Log any exceptions thrown while loading, initializing, starting,
 
76
         * and stopping the applet. 
 
77
         */
 
78
        AppletLog.log(t);
 
79
        super.showAppletException(t);
 
80
    }
 
81
    
71
82
    //Overriding to use Netx classloader. You might need to relax visibility
72
83
    //in sun.applet.AppletPanel for runLoader().
73
84
    protected void runLoader() {
93
104
                // Assume user has indicated he does not trust the
94
105
                // applet.
95
106
                if (exitOnFailure)
96
 
                    System.exit(0);
 
107
                    System.exit(1);
97
108
            }
98
109
            applet = appInst.getApplet();
99
110