JDK-8306607 : Apply 80-column output to javac supported version output
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-04-20
  • Updated: 2024-01-18
  • Resolved: 2024-01-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 22 Other
22 b23Fixed naResolved
Related Reports
Relates :  
Relates :  
Description
Various javac options take a supported release argument, including --release, --source, and --target.

The list of supported releases can exceed the 80-column output limit now used for javac -help output.

(Filing this bug prompted by
tools/javac/options/HelpOutputColumnWidthTest.java:
failing during initial start of JDK 22 efforts.)
Comments
Fix was pushed while main issue was targeted to '21'. Reset the main issue to fixed in '22' and copied the Robo Duke entry here.
18-01-2024

Changeset: 9842ff41 Author: Jonathan Gibbons <jjg@openjdk.org> Date: 2023-05-12 20:29:06 +0000 URL: https://git.openjdk.org/jdk/commit/9842ff4129b756abb5761cdca71126508224875f
18-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13965 Date: 2023-05-12 20:13:11 +0000
12-05-2023

This will need to be addressed in some fashion for the start-of-JDK-22 work, as a fall-back the test will need to be problem listed to allow clean test runs. While it is currently the case that all integer values between 8 and 20 are valid, this will not necessarily be the case in the future (i.e. non-LTS releases between LTS releases might be dropped).
04-05-2023

Couldn't we just use a range, as in 8..20, instead of enumerating all numbers between 8 and 20 ?
04-05-2023