> 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: updated copyright year. fixed Capitialization nit and restructured use of InstanceKlass local as per comments ------------- Changes: - all: https://git.openjdk.org/jdk/pull/29048/files - new: https://git.openjdk.org/jdk/pull/29048/files/6ce88730..dd11893b Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=29048&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29048&range=00-01 Stats: 16 lines in 4 files changed: 3 ins; 3 del; 10 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
