otp icon indicating copy to clipboard operation
otp copied to clipboard

Fix monitor/3 BIF in noproc scenarios

Open rickard-green opened this issue 2 years ago • 1 comments

The monitor/3 BIF did not apply options to the created monitor if the target process or port did not exist. That is, the corresponding down message would get a DOWN tag even if a custom tag had been set, and the returned reference was not an alias even if the alias option had been passed.

Fixes #6185

rickard-green avatar Aug 10 '22 14:08 rickard-green

CT Test Results

       3 files     125 suites   41m 7s :stopwatch: 1 455 tests 1 413 :heavy_check_mark: 42 :zzz: 0 :x: 1 754 runs  1 695 :heavy_check_mark: 59 :zzz: 0 :x:

Results for commit 7cecc256.

:recycle: This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

github-actions[bot] avatar Aug 10 '22 14:08 github-actions[bot]