aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/Launcher.java
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2010-10-26 18:00:35 -0400
committerOmair Majid <[email protected]>2010-10-26 18:00:35 -0400
commitbbf66b3b4ce4ab7f980dc575a3f53f7734340652 (patch)
treef7d01b4ba7861868134876b82473da01f48266d5 /netx/net/sourceforge/jnlp/Launcher.java
parent0b86ef098465f333d55724ea61fcc59dde9f39ca (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.java1
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;