Skip to content

Commit 99ea0ed

Browse files
committedFeb 23, 2018
Always default deprecated IPv4 property to false. Fixes #5057.
1 parent 099963a commit 99ea0ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎core/src/main/java/org/jruby/util/cli/Options.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public static String dump() {
244244

245245
// Most (all?) OpenJDK default this to false. See jruby/jruby#4869
246246
@Deprecated
247-
public static final Option<Boolean> PREFER_IPV4 = bool(MISCELLANEOUS, "net.preferIPv4", SafePropertyAccessor.getBoolean("java.net.preferIPv4Stack", false), "(DEPRECATED) Prefer IPv4 network stack");
247+
public static final Option<Boolean> PREFER_IPV4 = bool(MISCELLANEOUS, "net.preferIPv4", false, "(DEPRECATED) Prefer IPv4 network stack");
248248

249249
private static Option<String> string(Category category, String name, String[] options, String defval, String description) {
250250
Option<String> option = Option.string("jruby", name, category, options, defval, description);

0 commit comments

Comments
 (0)
Please sign in to comment.