RFR: 8278597: Remove outdated comments regarding RMISecurityManager in HotSpotAgent.java

Kevin Walls kevinw at openjdk.java.net
Wed Jan 12 15:10:45 UTC 2022


The HotSpotAgent.java setupDebugger method has a commmented out section relating to possibly using RMISecurityManager.
The comment is from pre-jdk7.  As RMISecurityManager has been deprecated for a while the comments should be removed.

This is a comment-only change, no impact on what we build, so seems trivial.

This is slightly more relevant today as with JEP411 and plans to remove the Security Mananger, it is natural to search the source for references to Security Manager.  Removing a false-positive from those results is a good thing.

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

Commit messages:
 - 8278597: Remove outdated comments regarding RMISecurityManager in HotSpotAgent.java

Changes: https://git.openjdk.java.net/jdk/pull/7050/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7050&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8278597
  Stats: 12 lines in 1 file changed: 0 ins; 11 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7050.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7050/head:pull/7050

PR: https://git.openjdk.java.net/jdk/pull/7050


More information about the serviceability-dev mailing list