changeset 1947:37bf993565d7

netx: error out when unsigned jnlp applications request permissions This patch fixes a missing throws that was causing a build failure. 2010-07-21 Omair Majid <omajid@redhat.com> * rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (setSecurity): Can now throw LaunchException.
author Omair Majid <omajid@redhat.com>
date Wed, 21 Jul 2010 14:43:05 -0400
parents 51be5c90d1d1
children f4e596f8a417
files rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java	Wed Jul 21 18:20:30 2010 +0100
+++ b/rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java	Wed Jul 21 14:43:05 2010 -0400
@@ -167,7 +167,7 @@
 
     }
 
-    private void setSecurity() {
+    private void setSecurity() throws LaunchException {
 		/**
 		 * When we're trying to load an applet, file.getSecurity() will return
 		 * null since there is no jnlp file to specify permissions. We