Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/jruby.bash
Original file line number Diff line number Diff line change
@@ -181,7 +181,9 @@ fi
JAVA_ENCODING=""

if [ -e "/dev/urandom" ]; then
JAVA_SECURITY_EGD="/dev/urandom"
# OpenJDK tries really hard to prevent you from using urandom.
# See https://bugs.openjdk.java.net/browse/JDK-6202721
JAVA_SECURITY_EGD="/dev/./urandom"
fi

declare -a java_args

0 comments on commit 65a004f

Please sign in to comment.