Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
Modifier and Type | Class and Description |
---|---|
class |
UnsupportedClassVersionError
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 Type | Method and Description |
---|---|
protected Class<?> |
ClassLoader.defineClass(byte[] classRep,
int offset,
int length)
Deprecated.
Use defineClass(String, byte[], int, int)
|
protected Class<?> |
ClassLoader.defineClass(String className,
byte[] classRep,
int offset,
int length)
Constructs a new class from an array of bytes containing a
class definition in class file format.
|
protected Class<?> |
ClassLoader.defineClass(String className,
byte[] classRep,
int offset,
int length,
ProtectionDomain protectionDomain)
Constructs a new class from an array of bytes containing a
class definition in class file format and assigns the new
class to the specified protection domain.
|
protected Class<?> |
ClassLoader.defineClass(String name,
ByteBuffer buffer,
ProtectionDomain domain)
Constructs a new class from an array of bytes containing a
class definition in class file format and assigns the new
class to the specified protection domain.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericSignatureFormatError
Thrown when a syntactically malformed signature attribute is
encountered by a reflective method that needs to interpret the
generic signature information for a type, method or constructor.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.