Module java.base

Enum Class ClassFile.DeadLabelsOption

java.lang.Object
java.lang.Enum<ClassFile.DeadLabelsOptionPREVIEW>
java.lang.classfile.ClassFile.DeadLabelsOption
All Implemented Interfaces:
Serializable, ClassFile.OptionPREVIEW, Comparable<ClassFile.DeadLabelsOptionPREVIEW>, Constable
Enclosing interface:
ClassFilePREVIEW

public static enum ClassFile.DeadLabelsOption extends Enum<ClassFile.DeadLabelsOptionPREVIEW> implements ClassFile.OptionPREVIEW
DeadLabelsOption is a preview API of the Java platform.
Programs can only use DeadLabelsOption when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Option describing whether to filter unresolved labels. Default is FAIL_ON_DEAD_LABELS to throw IllegalStateException when any ExceptionCatchPREVIEW, LocalVariableInfoPREVIEW, LocalVariableTypeInfoPREVIEW, or CharacterRangeInfoPREVIEW reference to unresolved LabelPREVIEW during bytecode serialization. Setting this option to DROP_DEAD_LABELS filters the above elements instead.
Since:
22