mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6554406: Change switch UseVMInterruptibleIO default to false (sol)
The default value of UseVMInterruptibleIO is changed to false for JDK 7, but the default isn't changed for JDK 6 and earlier. Reviewed-by: never, acorn, dholmes, kamg, alanb
This commit is contained in:
parent
e64aa947c4
commit
85138023c1
2 changed files with 9 additions and 3 deletions
|
@ -2322,7 +2322,12 @@ SOLARIS_ONLY(
|
|||
return JNI_ERR;
|
||||
}
|
||||
}
|
||||
|
||||
// Change the default value for flags which have different default values
|
||||
// when working with older JDKs.
|
||||
if (JDK_Version::current().compare_major(6) <= 0 &&
|
||||
FLAG_IS_DEFAULT(UseVMInterruptibleIO)) {
|
||||
FLAG_SET_DEFAULT(UseVMInterruptibleIO, true);
|
||||
}
|
||||
return JNI_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue