On Mon, 5 Jan 2026 21:09:17 GMT, Serguei Spitsyn <[email protected]> wrote:

> I wonder if verbose parameter should cause to print class files location. Was 
> this option considered, and if so then why has it been rejected?

I typically avoid modifying the behavior (and hence o/p) of existing commands; 
in my view a particular command (and options etc) and the resulting o/p format 
are part of the API "contract", hence simply modifying the -verbose option to
emit this additional field, would break the existing "contract", which in the 
case of a programmatic parser client would 
most likely cause failures.

IMO adding a new option preserves the existing contract while providing the 
additional metadata for new consumers
aware of its availability and desirous of its content.

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

PR Comment: https://git.openjdk.org/jdk/pull/29048#issuecomment-3712445113

Reply via email to