Skip to content

Commit

Permalink
Don't set java.net.preferIPv4Stack in shell scripts #1286
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceadams authored and tedpennings committed Dec 5, 2013
1 parent c14878d commit 443307d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions bin/jruby.bash
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,6 @@ if [[ $darwin && -z "$JAVA_ENCODING" ]]; then
java_args=("${java_args[@]}" "-Dfile.encoding=UTF-8")
fi

# prefer IPv4 to IPv6; see https://github.com/jruby/jruby/issues/775
java_args=("${java_args[@]}" "-Djava.net.preferIPv4Stack=true")

# Append the rest of the arguments
ruby_args=("${ruby_args[@]}" "$@")

Expand Down
3 changes: 0 additions & 3 deletions bin/jruby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,6 @@ if [[ -z "$JAVA_ENCODING" ]]; then
java_args="${java_args} -Dfile.encoding=UTF-8"
fi

# prefer IPv4 to IPv6; see https://github.com/jruby/jruby/issues/775
java_args=("${java_args[@]}" "-Djava.net.preferIPv4Stack=true")

# Append the rest of the arguments
ruby_args="${ruby_args} $@"

Expand Down

0 comments on commit 443307d

Please sign in to comment.