Browse Source

Merge pull request #409 from aschleck/patch-1

Remove redundant type check
tags/rel_3_29_0_ga
Shigeru Chiba 2 years ago
parent
commit
668d092a88
No account linked to committer's email address
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      src/main/javassist/util/proxy/SecurityActions.java

+ 0
- 1
src/main/javassist/util/proxy/SecurityActions.java View File

@@ -213,7 +213,6 @@ class SecurityActions extends SecurityManager
if (e.getCause() instanceof NoSuchFieldException)
throw new ClassNotFoundException("No such instance.", e.getCause());
if (e.getCause() instanceof IllegalAccessException
|| e.getCause() instanceof IllegalAccessException
|| e.getCause() instanceof SecurityException)
throw new ClassNotFoundException("Security denied access.", e.getCause());
throw new RuntimeException(e.getCause());

Loading…
Cancel
Save