diff options
author | Omair Majid <[email protected]> | 2010-10-26 18:00:35 -0400 |
---|---|---|
committer | Omair Majid <[email protected]> | 2010-10-26 18:00:35 -0400 |
commit | bbf66b3b4ce4ab7f980dc575a3f53f7734340652 (patch) | |
tree | f7d01b4ba7861868134876b82473da01f48266d5 /netx/net/sourceforge/jnlp/Launcher.java | |
parent | 0b86ef098465f333d55724ea61fcc59dde9f39ca (diff) |
launch applications that have a non-public main class
2010-10-26 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/Launcher.java
(launchApplication): Mark main method as accessible before
invoking it.
Diffstat (limited to 'netx/net/sourceforge/jnlp/Launcher.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/Launcher.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/Launcher.java b/netx/net/sourceforge/jnlp/Launcher.java index 713e64c..988895c 100644 --- a/netx/net/sourceforge/jnlp/Launcher.java +++ b/netx/net/sourceforge/jnlp/Launcher.java @@ -474,6 +474,7 @@ public class Launcher { splashScreen.dispose(); } + main.setAccessible(true); main.invoke(null, new Object[] { args } ); return app; |