LuciferYang commented on code in PR #259:
URL: https://github.com/apache/commons-crypto/pull/259#discussion_r1368086346
##########
src/main/java/org/apache/commons/crypto/random/CryptoRandomFactory.java:
##########
@@ -198,14 +198,6 @@ public static CryptoRandom getCryptoRandom(final
Properties props)
} catch (final Exception e) {
lastException = e;
errorMessage.append("CryptoRandom: [" + className + "] failed
with " + e.getMessage());
- } catch (final ExceptionInInitializerError initializerError) {
Review Comment:
`ExceptionInInitializerError` is uniformly handled in `ReflectionUtils`, and
an exception is thrown at the same time. So, there is no need to handle it here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]