On Thu, 30 Apr 2026 10:57:47 GMT, Kevin Walls <[email protected]> wrote:
> JConsole attempts unnecessary classloading by using Class.forName when > creating the graphical interface, including the components for MBeans. > > JConosole does not implement MBean operations on types other than the > standard types. It already has a set of types which it can check against, so > can check if a type is in "editableTypes" before resolving and returning a > Class. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: ea40bcaa Author: Kevin Walls <[email protected]> URL: https://git.openjdk.org/jdk/commit/ea40bcaaaa4f50dd7c71b8efdbbcf9300626d257 Stats: 6 lines in 1 file changed: 3 ins; 0 del; 3 mod 8383639: JConsole unnecessary classloading for MBean types Reviewed-by: cjplummer, sspitsyn ------------- PR: https://git.openjdk.org/jdk/pull/30999
