Thanks kai_2 for providing a second confirmation of this bug. Did you also submit your bug report using Feedback Assistant?
Given that my code example (see GitHub link above) demonstrates this totally reproducible problem, it certainly would be good to receive some feedback from Apple that indicates this will be addressed. Right now in Feedback Assistant, it still says "Resolution Open"
Best Wishes,
Mark
Topic:
App & System Services
SubTopic:
Core OS
Tags: