> 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: added test for VM.classes -location as per lmesnik ------------- Changes: - all: https://git.openjdk.org/jdk/pull/29048/files - new: https://git.openjdk.org/jdk/pull/29048/files/b4a97882..c4d914ea Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=29048&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29048&range=02-03 Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/29048.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29048/head:pull/29048 PR: https://git.openjdk.org/jdk/pull/29048
