-
Bug
-
Resolution: Fixed
-
P3
-
None
-
None
A downstream JDK might not only have the two OpenJDK default JFR profiles default.jfc and profile.jfc but also contain other custom JFR profiles, such as SapMachine delivers special gc related configurations, like here: https://github.com/SAP/SapMachine/tree/sapmachine/src/jdk.jfr/share/conf/jfr.
This makes the test EventTemplateTest fail since it expects every possible JFR event in every configuration. It could be fixed by only checking the two default templates tagged with provider="Oracle".