Uses of Class java.lang.instrument.IllegalClassFormatException (Java Platform SE 8 )
Date: 2026-01-21

## Uses of Class
java.lang.instrument.IllegalClassFormatException

- Packages that use IllegalClassFormatException
  Package | Description
  --- | ---
  java.lang.instrument | Provides services that allow Java programming language agents to instrument programs running on the JVM.

- - ### Uses of IllegalClassFormatException in java.lang.instrument

    Methods in java.lang.instrument that throw IllegalClassFormatException
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | ClassFileTransformer.`transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)` The implementation of this method may transform the supplied class file and return a new replacement class file.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.