Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8309415

Spec Clarification : ClassFileFormatVersion: System property java.class.version | Java class format version number

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 21
    • core-libs
    • None
    • behavioral
    • minimal
    • Document existing behavior.
    • Java API
    • SE

      Summary

      The java.class.version system property does not state its format.

      Problem

      The format of one of the mandatory system properties is not included in its specification.

      Solution

      Add information about the format to the property's table entry in System.getProperties().

      Specification

      As the diff of the HTML for the table is hard to read, ASCII form:

      Before:

      java.class.version: Java class format version number

      After: java.class.version: Latest Java class file format version recognized by the Java runtime as "MAJOR.MINOR" where MAJOR and MINOR are both formatted as decimal integers

      The second MAJOR is a link to java.lang.reflect.ClassFileFormatVersion#major() and "Latest" is a link to java.lang.reflect.ClassFileFormatVersion#latest()

            darcy Joe Darcy
            amadgundi Asha Madgundi (Inactive)
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: