On Tue, 4 Aug 2026 00:07:47 GMT, Chen Liang <[email protected]> wrote:

> Currently,there's a hidden option from the base file manager, 
> `--preview-mode`, that is exposed by javac and javap tools, but this option 
> consumes arbitrary string arguments that do not represent a valid boolean, 
> and the command line fails with a confusing message. We can make that failure 
> message more straightforward.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 4ab51270
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/4ab5127029d7c05ecce34a0cccf5245e19a451a6
Stats:     89 lines in 2 files changed: 87 ins; 0 del; 2 mod

8389654: BaseFileManager --preview-mode handling need to be more robust

Reviewed-by: vromero

-------------

PR: https://git.openjdk.org/jdk/pull/32186

Reply via email to