arturobernalg commented on a change in pull request #129:
URL: https://github.com/apache/commons-crypto/pull/129#discussion_r553881334
##########
File path: src/main/java/org/apache/commons/crypto/random/OsCryptoRandom.java
##########
@@ -74,7 +76,7 @@ public OsCryptoRandom(final Properties props) {
try {
close();
- this.stream = new FileInputStream(randomDevFile);
+ this.stream =
Files.newInputStream(Paths.get(randomDevFile.getPath()));
Review comment:
I'm not 100% sure about this change.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]