Uses of Class
java.lang.ClassFormatError
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Provides classes and interfaces for obtaining reflective information about
classes and objects.
-
Uses of ClassFormatError in java.lang
Modifier and TypeClassDescriptionclass
Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.Modifier and TypeMethodDescriptionprotected final Class<?>
ClassLoader.defineClass
(byte[] b, int off, int len) Deprecated.protected final Class<?>
ClassLoader.defineClass
(String name, byte[] b, int off, int len) Converts an array of bytes into an instance of classClass
.protected final Class<?>
ClassLoader.defineClass
(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain) Converts an array of bytes into an instance of classClass
, with a givenProtectionDomain
.protected final Class<?>
ClassLoader.defineClass
(String name, ByteBuffer b, ProtectionDomain protectionDomain) -
Uses of ClassFormatError in java.lang.reflect
Modifier and TypeClassDescriptionclass
Thrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a class or interface, method or constructor.
defineClass(String, byte[], int, int)