Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 477850
Collapse All | Expand All

(-)a/netx/net/sourceforge/jnlp/runtime/Boot.java (+5 lines)
Lines 35-40 Link Here
35
import net.sourceforge.jnlp.cache.UpdatePolicy;
35
import net.sourceforge.jnlp.cache.UpdatePolicy;
36
import net.sourceforge.jnlp.security.viewer.CertificateViewer;
36
import net.sourceforge.jnlp.security.viewer.CertificateViewer;
37
import net.sourceforge.jnlp.services.ServiceUtil;
37
import net.sourceforge.jnlp.services.ServiceUtil;
38
import sun.awt.AppContext;
39
import sun.awt.SunToolkit;
38
40
39
/**
41
/**
40
 * This is the main entry point for the JNLP client.  The main
42
 * This is the main entry point for the JNLP client.  The main
Lines 113-118 Link Here
113
     * Launch the JNLP file specified by the command-line arguments.
115
     * Launch the JNLP file specified by the command-line arguments.
114
     */
116
     */
115
    public static void main(String[] argsIn) {
117
    public static void main(String[] argsIn) {
118
        if (AppContext.getAppContext() == null) {
119
            SunToolkit.createNewAppContext();
120
        }
116
        args = argsIn;
121
        args = argsIn;
117
122
118
        if (null != getOption("-viewer")) {
123
        if (null != getOption("-viewer")) {
(-)a/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (-1 / +1 lines)
Lines 234-240 Link Here
234
        try {
234
        try {
235
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
235
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
236
        } catch (Exception e) {
236
        } catch (Exception e) {
237
            // ignore it
237
            e.printStackTrace();
238
        }
238
        }
239
239
240
        doMainAppContextHacks();
240
        doMainAppContextHacks();
(-)a/plugin/icedteanp/java/sun/applet/PluginMain.java (+5 lines)
Lines 72-77 Link Here
72
import java.net.ProxySelector;
72
import java.net.ProxySelector;
73
import java.util.Enumeration;
73
import java.util.Enumeration;
74
import java.util.Properties;
74
import java.util.Properties;
75
import sun.awt.AppContext;
76
import sun.awt.SunToolkit;
75
77
76
import net.sourceforge.jnlp.config.DeploymentConfiguration;
78
import net.sourceforge.jnlp.config.DeploymentConfiguration;
77
import net.sourceforge.jnlp.runtime.JNLPRuntime;
79
import net.sourceforge.jnlp.runtime.JNLPRuntime;
Lines 94-99 Link Here
94
     */
96
     */
95
    public static void main(String args[])
97
    public static void main(String args[])
96
            throws IOException {
98
            throws IOException {
99
        if (AppContext.getAppContext() == null) {
100
            SunToolkit.createNewAppContext();
101
        }
97
        if (args.length != 2 || !(new File(args[0]).exists()) || !(new File(args[1]).exists())) {
102
        if (args.length != 2 || !(new File(args[0]).exists()) || !(new File(args[1]).exists())) {
98
            System.err.println("Invalid pipe names provided. Refusing to proceed.");
103
            System.err.println("Invalid pipe names provided. Refusing to proceed.");

Return to bug 477850