aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java')
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java b/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
index 4858dc4..0bab269 100644
--- a/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
+++ b/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
@@ -1228,15 +1228,14 @@ public class PluginAppletSecurityContext {
Class<?> c = (Class<?>) store.getObject(classID);
Method m = null;
Constructor cs = null;
- Object o = null;
try {
if (methodName.equals("<init>")
|| methodName.equals("<clinit>")) {
- o = cs = c.getConstructor(signature.getClassArray());
+ cs = c.getConstructor(signature.getClassArray());
store.reference(cs);
} else {
- o = m = c.getMethod(methodName, signature.getClassArray());
+ m = c.getMethod(methodName, signature.getClassArray());
store.reference(m);
}
} catch (NoSuchMethodException e) {