< prev index next >

src/java.base/share/classes/java/lang/System.java

Print this page
@@ -38,10 +38,11 @@
  import java.lang.foreign.MemorySegment;
  import java.lang.invoke.MethodHandle;
  import java.lang.invoke.MethodType;
  import java.lang.invoke.StringConcatFactory;
  import java.lang.module.ModuleDescriptor;
+ import java.lang.reflect.ClassFileFormatVersion;
  import java.lang.reflect.Constructor;
  import java.lang.reflect.Executable;
  import java.lang.reflect.Method;
  import java.lang.reflect.Modifier;
  import java.net.URI;

@@ -2664,10 +2665,32 @@
                                                        ContinuationScope contScope,
                                                        Continuation continuation) {
                  return StackWalker.newInstance(options, null, contScope, continuation);
              }
  
+             @Override
+             public Class<?> asPrimaryType(Class<?> clazz) {
+                 return clazz.asPrimaryType();
+             }
+             public Class<?> asValueType(Class<?> clazz) {
+                 return clazz.asValueType();
+             }
+ 
+             public boolean isPrimaryType(Class<?> clazz) {
+                 return clazz.isPrimaryType();
+             }
+             public boolean isPrimitiveValueType(Class<?> clazz) {
+                 return clazz.isPrimitiveValueType();
+             }
+             public boolean isPrimitiveClass(Class<?> clazz) {
+                 return clazz.isPrimitiveClass();
+             }
+ 
+             public int classFileFormatVersion(Class<?> clazz) {
+                 return clazz.getClassFileVersion();
+             }
+ 
              public String getLoaderNameID(ClassLoader loader) {
                  return loader != null ? loader.nameAndId() : "null";
              }
  
              @Override
< prev index next >