Prior to the introduction of the RemoveFields annotation in JDK 22, events that didn’t have a duration had to be specially handled in TestActiveSettingEvent.
This is no longer necessary, so those events can be removed. The RemoveFields annotation should be referenced if the test fails.
This is no longer necessary, so those events can be removed. The RemoveFields annotation should be referenced if the test fails.