Fixes JDK-8322141 As suggested by @vlsi and documented by @bplb this PR does not return, but only sets the maximum result value.
------------- Commit messages: - Fixes JDK-8322141 Changes: https://git.openjdk.org/jdk/pull/17119/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17119&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8322141 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/17119.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17119/head:pull/17119 PR: https://git.openjdk.org/jdk/pull/17119