On Tue, 6 Jun 2023 01:34:03 GMT, Joe Darcy <da...@openjdk.org> wrote:
> "Latest Java class file format version recognized by the Java runtime as > "MAJOR.MINOR" where MAJOR and MINOR are both formatted as decimal integers" Okay, and linking to ClassFileFormatVersion.latest() is good. Again, just to lobby for putting an adjective into the ClassFileFormatVersion.RELEASE_XX descriptions to make it clearer than the value is the latest version recognized rather than single version that the wording currently suggests. > While it wouldn't be unreasonable to assume that when running under > --enable-preview that the minor version was 65535, it is printed out as 0 > with or without preview being enabled. > > I didn't want to broach preview-ness as part of this update to either promise > or document the current behavior. You're right, I shouldn't have brought this up here. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14305#discussion_r1219189988