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

Gerard Ziemski gziemski at openjdk.java.net
Wed Feb 17 19:55:41 UTC 2021


On Wed, 17 Feb 2021 19:39:58 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Gerard Ziemski has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   apply new check to macOS only
>
> src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp line 475:
> 
>> 473: #ifdef AMD64
>> 474:       if (sig == SIGFPE  &&
>> 475:           (info->si_code == FPE_INTDIV || info->si_code == FPE_FLTDIV MACOS_ONLY(|| info->si_code == FPE_FLTINV))) {
> 
> Can you add a comment stating that MacOs (or Rosetta?) misreports FLTDIV as FLTINV?

Will do.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2615


More information about the hotspot-runtime-dev mailing list