< prev index next > src/java.base/share/classes/java/lang/System.java
Print this page
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;
ContinuationScope contScope,
Continuation continuation) {
return StackWalker.newInstance(options, null, contScope, continuation);
}
+ public int classFileFormatVersion(Class<?> clazz) {
+ return clazz.getClassFileVersion();
+ }
+
public String getLoaderNameID(ClassLoader loader) {
return loader != null ? loader.nameAndId() : "null";
}
@Override
< prev index next >