We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16641b commit 4601d82Copy full SHA for 4601d82
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jfr/Target_jdk_jfr_internal_JVM.java
@@ -547,6 +547,16 @@ public static long hostTotalSwapMemory() {
547
/* Not implemented at the moment. */
548
return -1;
549
}
550
+
551
+ @Substitute
552
+ @TargetElement(onlyWith = JDKLatest.class) //
553
+ public static boolean isProduct() {
554
+ /*
555
+ * Currently only used for jdk.jfr.internal.tool.Command, which is not relevant for us. We
556
+ * implement it nevertheless and return true to disable non-product features.
557
+ */
558
+ return true;
559
+ }
560
561
562
class HasChunkRotationMonitorField implements BooleanSupplier {
0 commit comments