RFR: 8353235: Test jdk/jfr/api/metadata/annotations/TestPeriod.java fails with IllegalArgumentException

Erik Gahlin egahlin at openjdk.org
Mon Mar 31 14:55:34 UTC 2025


On Mon, 31 Mar 2025 03:38:34 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> In test jdk/jfr/api/metadata/annotations/TestPeriod.java, the tested class `PeriodicEvent` extends `Event`, bug `Event` has three event types `enabled/stackTrace/threshold` by default. So we need to add `period` event type before test manually.
> 
> Change has been verified locally, test-fix only, no risk.

Marked as reviewed by egahlin (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/24320#pullrequestreview-2729581763


More information about the hotspot-jfr-dev mailing list