Summary
Replace the flag RestoreMXCSROnJNICalls by the more generic RestoreFPEnvOnJNICalls.
Problem
RestoreMXCSROnJNICalls is an x86-specific name for a generic need. It is to restore the floating-point control environment after a JNI call changed that environment.
Solution
Rename the current RestoreMXCSROnJNICalls to RestoreFPEnvOnJNICalls, changing its documentation string to make it non-x86-hardware specific without changing its usage in any way. An alternative would be non-generic names for each port.
Specification
Rename the flag, and introduce an alias in order to make sure existing scripts which use RestoreMXCSROnJNICalls continue to work. This alias does not need ever to expire.
https://github.com/theRealAph/jdk/commit/550ce3c45b3ebe0179a5e23ee815c151e8b9915f
- csr of
-
JDK-8321535 Introduce a generic name for RestoreMXCSROnJNICalls
- Open