From da0ffa8b7ff04eb5cbc0fcbe4b858f20d7e46405 Mon Sep 17 00:00:00 2001 From: Robert Toyonaga Date: Thu, 4 Jul 2024 13:35:24 +0000 Subject: [PATCH] 8334031: Generated JfrNativeSettings seems off Reviewed-by: egahlin --- make/src/classes/build/tools/jfr/GenerateJfrFiles.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/src/classes/build/tools/jfr/GenerateJfrFiles.java b/make/src/classes/build/tools/jfr/GenerateJfrFiles.java index 34e933eb22d..7532a446aa1 100644 --- a/make/src/classes/build/tools/jfr/GenerateJfrFiles.java +++ b/make/src/classes/build/tools/jfr/GenerateJfrFiles.java @@ -668,7 +668,7 @@ public class GenerateJfrFiles { out.write(" // add named struct members also."); out.write(" struct {"); out.write(" jfrNativeEventSetting pad[NUMBER_OF_RESERVED_EVENTS];"); - for (TypeElement t : metadata.getEventsAndStructs()) { + for (TypeElement t : metadata.getEvents()) { out.write(" jfrNativeEventSetting " + t.name + ";"); } out.write(" } ev;");