Skip to content

Commit

Permalink
Fixed exception when using reflection to clean webappcl reference
Browse files Browse the repository at this point in the history
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
  • Loading branch information
dmatej committed Feb 27, 2023
1 parent 147c401 commit 11b2a7d
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -23,6 +23,7 @@
import java.lang.ref.Reference;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
import java.lang.reflect.InaccessibleObjectException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.security.AccessController;
Expand Down Expand Up @@ -270,7 +271,8 @@ private void clearReferencesRmiTargets() {
}
} catch (ClassNotFoundException e) {
LOG.log(INFO, getString(LogFacade.CLEAR_RMI_INFO, loader.getName()), e);
} catch (SecurityException | NoSuchFieldException | IllegalArgumentException | IllegalAccessException e) {
} catch (SecurityException | NoSuchFieldException | IllegalArgumentException | IllegalAccessException
| InaccessibleObjectException e) {
LOG.log(WARNING, getString(LogFacade.CLEAR_RMI_FAIL, loader.getName()), e);
}
}
Expand Down

0 comments on commit 11b2a7d

Please sign in to comment.