[11u] RFR: 8261397: Try Catch Method Failing to Work When Dividing An Integer By 0

Hohensee, Paul hohensee at amazon.com
Tue Mar 30 19:26:14 UTC 2021


Needs a copyright update to 2021 in os_bsd_x86.cpp, and to 2019 in vm_version_bsd_x86.cpp. The original author forgot to update the copyright dates to 2021 in vm_version_bsd_x86.cpp and vm_version_x86.hpp, but I don't think that's our problem.

Otherwise lgtm.

Thanks,
Paul

-----Original Message-----
From: jdk-updates-dev <jdk-updates-dev-retn at openjdk.java.net> on behalf of Vladimir Kempik <vkempik at azul.com>
Date: Tuesday, March 30, 2021 at 5:22 AM
To: jdk-updates-dev <jdk-updates-dev at openjdk.java.net>
Subject: [11u] RFR: 8261397: Try Catch Method Failing to Work When Dividing An Integer By 0 

Please review this backport of 8261397 to jdk11u

The fix didn’t apply cleanly due to MACOS_ONLY macro missing in jdk11.

The fix is low-risk, affect only macos_x86 when running in rosetta2 translation mode on m1 mac.
Checked the build with fix on m1 mac with testcase from the bug, testcase now works.

The webrev - http://cr.openjdk.java.net/~vkempik/8261397/webrev.00/ <http://cr.openjdk.java.net/~vkempik/8261397/webrev.00/>

The Bug - https://bugs.openjdk.java.net/browse/JDK-8261397 <https://bugs.openjdk.java.net/browse/JDK-8261397>

Regards, Vladimir



More information about the jdk-updates-dev mailing list