JDK-8352879 : TestPeriod.java and TestGetContentType.java run wrong test class
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 11,17,21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-03-25
  • Updated: 2025-04-01
  • Resolved: 2025-03-30
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
Causes :  
Relates :  
Description
test/jdk/jdk/jfr/api/metadata/annotations/TestPeriod.java runs class 'TestLabel' instead of 'TestPeriod':

 * @run main/othervm jdk.jfr.api.metadata.annotations.TestLabel
 */
public class TestPeriod {

test/jdk/jdk/jfr/api/metadata/settingdescriptor/TestGetContentType.java runs class 'TestGetDescription' instead of 'TestGetContentType':

 * @run main/othervm jdk.jfr.api.metadata.settingdescriptor.TestGetDescription
 */
public class TestGetContentType {

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: b9d7a75a Branch: master Author: Zihao Lin <linzihao1999@outlook.com> Committer: SendaoYan <syan@openjdk.org> Date: 2025-03-30 13:14:52 +0000 URL: https://git.openjdk.org/jdk/commit/b9d7a75adee8a96cf47bbe73e3009102ceda9589
30-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24312 Date: 2025-03-29 11:18:27 +0000
29-03-2025