3838
3939import com .oracle .svm .core .annotate .TargetClass ;
4040
41- @ TargetClass (className = "jdk.internal.platform.cgroupv1.CgroupV1Subsystem" )
41+ @ TargetClass (className = "jdk.internal.platform.cgroupv1.CgroupV1Subsystem" , onlyWith = JDK17OrLater . class )
4242@ Platforms (LINUX .class )
4343final class Target_jdk_internal_platform_cgroupv1_CgroupV1Subsystem {
4444 @ Alias //
4545 @ RecomputeFieldValue (kind = Kind .Reset ) //
4646 private static volatile Target_jdk_internal_platform_cgroupv1_CgroupV1Subsystem INSTANCE ;
4747}
4848
49- @ TargetClass (className = "jdk.internal.platform.cgroupv2.CgroupV2Subsystem" )
49+ @ TargetClass (className = "jdk.internal.platform.cgroupv2.CgroupV2Subsystem" , onlyWith = JDK17OrLater . class )
5050@ Platforms (LINUX .class )
5151final class Target_jdk_internal_platform_cgroupv2_CgroupV2Subsystem {
5252 @ Alias //
5353 @ RecomputeFieldValue (kind = Kind .Reset ) //
5454 private static volatile Target_jdk_internal_platform_cgroupv2_CgroupV2Subsystem INSTANCE ;
5555}
5656
57- @ TargetClass (className = "jdk.jfr.internal.instrument.JDKEvents" )
57+ @ TargetClass (className = "jdk.jfr.internal.instrument.JDKEvents" , onlyWith = JDK17OrLater . class )
5858@ Platforms (LINUX .class )
5959final class Target_jdk_jfr_internal_instrument_JDKEvents {
6060 @ Alias //
@@ -66,7 +66,7 @@ final class Target_jdk_jfr_internal_instrument_JDKEvents {
6666 private static boolean initializationTriggered ;
6767}
6868
69- @ TargetClass (className = "jdk.jfr.internal.RequestEngine" )
69+ @ TargetClass (className = "jdk.jfr.internal.RequestEngine" , onlyWith = JDK17OrLater . class )
7070@ Platforms (LINUX .class )
7171final class Target_jdk_jfr_internal_RequestEngine {
7272 @ Alias //
@@ -83,7 +83,7 @@ final class Target_jdk_jfr_internal_Utils {
8383 private static Target_jdk_internal_platform_Metrics [] metrics ;
8484}
8585
86- @ TargetClass (className = "jdk.internal.platform.Metrics" )
86+ @ TargetClass (className = "jdk.internal.platform.Metrics" , onlyWith = JDK17OrLater . class )
8787@ Platforms (LINUX .class )
8888final class Target_jdk_internal_platform_Metrics {
8989}
0 commit comments