JDK-8353235 : Test jdk/jfr/api/metadata/annotations/TestPeriod.java fails with IllegalArgumentException
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-03-31
  • Updated: 2025-04-01
  • Resolved: 2025-03-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25 masterFixed
Related Reports
Relates :  
Description
java.lang.IllegalArgumentException: Could not setting with name period
	at jdk.test.lib.jfr.Events.getSetting(Events.java:343)
	at jdk.jfr.api.metadata.annotations.TestPeriod.main(TestPeriod.java:47)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
	at java.base/java.lang.Thread.run(Thread.java:1447)

The test was only just corrected to run as expected by JDK-8352879
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk24u/pull/169 Date: 2025-04-01 06:51:13 +0000
01-04-2025

Changeset: b7ca76ef Branch: master Author: SendaoYan <syan@openjdk.org> Date: 2025-03-31 15:45:23 +0000 URL: https://git.openjdk.org/jdk/commit/b7ca76ef4bfc640668492e655acc6d755411a92f
31-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24320 Date: 2025-03-31 03:38:34 +0000
31-03-2025