Enum Class ClassFileFormatVersion

java.lang.Object
java.lang.Enum<ClassFileFormatVersion>
java.lang.reflect.ClassFileFormatVersion
All Implemented Interfaces:
Serializable, Comparable<ClassFileFormatVersion>, Constable

public enum ClassFileFormatVersion extends Enum<ClassFileFormatVersion>
Class file format versions of the Java virtual machine. See the appropriate edition of The Java Virtual Machine Specification for information about a particular class file format version.

Note that additional class file format version constants will be added to model future releases of the Java Virtual Machine Specification.

API Note:
The complete version used in a class file includes a major version and a minor version; this enum only models the major version. A Java virtual machine implementation is required to support a range of major versions; see the corresponding edition of the The Java Virtual Machine Specification for details.
Since:
20
See Also:
  • Nested Class Summary

    Nested classes/interfaces declared in class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The original version.
    The version recognized by the Java Platform 1.1.
    The version introduced by the Java Platform, Standard Edition 10.
    The version introduced by the Java Platform, Standard Edition 11.
    The version introduced by the Java Platform, Standard Edition 12.
    The version introduced by the Java Platform, Standard Edition 13.
    The version introduced by the Java Platform, Standard Edition 14.
    The version introduced by the Java Platform, Standard Edition 15.
    The version introduced by the Java Platform, Standard Edition 16.
    The version introduced by the Java Platform, Standard Edition 17.
    The version introduced by the Java Platform, Standard Edition 18.
    The version introduced by the Java Platform, Standard Edition 19.
    The version introduced by the Java 2 Platform, Standard Edition, v 1.2.
    The version introduced by the Java Platform, Standard Edition 20.
    The version introduced by the Java Platform, Standard Edition 21.
    The version introduced by the Java Platform, Standard Edition 22.
    The version introduced by the Java Platform, Standard Edition 23.
    The version introduced by the Java 2 Platform, Standard Edition, v 1.3.
    The version introduced by the Java 2 Platform, Standard Edition, v 1.4.
    The version introduced by the Java 2 Platform, Standard Edition 5.0.
    The version introduced by the Java Platform, Standard Edition 6.
    The version introduced by the Java Platform, Standard Edition 7.
    The version introduced by the Java Platform, Standard Edition 8.
    The version introduced by the Java Platform, Standard Edition 9.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromMajor(int major)
    Returns the latest class file format version whose major class file version matches the argument.
    Returns the latest class file format version.
    int
    Returns the major class file version as an integer.
    Returns the least runtime version that supports this class file format version; otherwise null.
    Returns the latest class file format version that is usable under the runtime version argument.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods declared in class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait