On Thu, 30 Apr 2026 16:12:27 GMT, Chris Plummer <[email protected]> wrote:

> What type of testing did you do?

Good point.  Manual testing. A small program that creates an MBeanServer wtih a 
custom MBean that offers an Operation which has params or return value of 
different (unusual!) types.  If JConsole is run with -verbose:class you can see 
unwanted/unnecessary class loads happen, when you navigate in the GUI to the 
MBean Operations view.

JConsole can't invoke operations with parameters of these types, it has no use 
for the actual Classes of them.

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

PR Comment: https://git.openjdk.org/jdk/pull/30999#issuecomment-4354467731

Reply via email to