On Mon, 5 Jan 2026 20:16:37 GMT, Larry Cable <[email protected]> wrote:

> modified the pre-existing VM.classes jcmd to add a 'location' option, that 
> when specified, will (natively) attempt to obtain the value (if non-null) of 
> the location URL of the CodeSource of each classes ProtectionDomain.
> 
> effectively:
> 
> someObject.getClass().getProtectionDomain().getCodeSource().getLocation().toExternalForm()
> 
> (where interim oops are null-checked)

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?

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

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

Reply via email to