Skip to content

Commit

Permalink
Disable JFR JCL APIs
Browse files Browse the repository at this point in the history
Disable JFR JCL APIs until JFR natives are implemented.

Related to: #20607

Signed-off-by: tajila <[email protected]>
  • Loading branch information
tajila committed Nov 19, 2024
1 parent 276f38f commit 9f566fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jcl/src/java.base/share/classes/java/lang/System.java
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,10 @@ private static void ensureProperties(boolean isInitialization) {
/*[ENDIF] CRIU_SUPPORT */

/*[IF JFR_SUPPORT]*/
/* Enables openj9 JFR tests. */
initializedProperties.put("org.eclipse.openj9.jfr.isJFREnabled", "true"); //$NON-NLS-1$ //$NON-NLS-2$
/* TODO disable JFR JCL APIs until JFR natives are implemented. */
initializedProperties.put("jfr.unsupported.vm", "true"); //$NON-NLS-1$ //$NON-NLS-2$
/*[ENDIF] JFR_SUPPORT */

String[] list = getPropertyList();
Expand Down

0 comments on commit 9f566fa

Please sign in to comment.