Skip to content

Commit

Permalink
Merge pull request #409 from aschleck/patch-1
Browse files Browse the repository at this point in the history
Remove redundant type check
  • Loading branch information
chibash committed May 10, 2022
2 parents 52629ee + fc299f8 commit 668d092
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/javassist/util/proxy/SecurityActions.java
Expand Up @@ -213,7 +213,6 @@ static TheUnsafe getSunMiscUnsafeAnonymously() throws ClassNotFoundException
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());
Expand Down

0 comments on commit 668d092

Please sign in to comment.