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

SendaoYan syan at openjdk.org
Mon Mar 31 15:50:15 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.

This pull request has now been integrated.

Changeset: b7ca76ef
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b7ca76ef4bfc640668492e655acc6d755411a92f
Stats:     2 lines in 1 file changed: 2 ins; 0 del; 0 mod

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

Reviewed-by: egahlin

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

PR: https://git.openjdk.org/jdk/pull/24320


More information about the hotspot-jfr-dev mailing list