W3cubDocs

/OpenJDK 21

Interface ClassUnloadEvent

All Superinterfaces:
Event, Mirror
public interface ClassUnloadEvent extends Event
Notification of a class unload in the target VM.

There are severe constraints on the debugger back-end during garbage collection, so unload information is greatly limited.

Since:
1.3
See Also:

Method Summary

Modifier and Type Method Description
String className()
Returns the name of the class that has been unloaded.
String classSignature()
Returns the type signature of the class that has been unloaded.

Methods declared in interface com.sun.jdi.event.Event

request

Methods declared in interface com.sun.jdi.Mirror

toString, virtualMachine

Method Details

className

String className()
Returns the name of the class that has been unloaded. The returned string may not be a binary name.
See Also:

classSignature

String classSignature()
Returns the type signature of the class that has been unloaded. The result is of the same form as the string returned by Class.descriptorString(). If this class can be described nominally, the returned string is a type descriptor conforming to JVMS 4.3.2; otherwise, the returned string is not a type descriptor.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.jdi/com/sun/jdi/event/ClassUnloadEvent.html