RFR: 8327246: Add a jcmd diagnostic command to list the jar files loaded by a process [v5]
duke
duke at openjdk.org
Thu Jan 15 18:01:51 UTC 2026
On Tue, 13 Jan 2026 20:44:37 GMT, Larry Cable <duke at openjdk.org> 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)
>
> Larry Cable has updated the pull request incrementally with one additional commit since the last revision:
>
> JDK-8327246: changes as per @dholmes and @kwalls
@larry-cable
Your change (at version 55d270dcc3e8f18806699449fc243942844ff8d4) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29048#issuecomment-3756167021
More information about the serviceability-dev
mailing list