RFR: 8289711: Add container configuration data to mbeans [v7]

Alan Bateman alanb at openjdk.org
Wed Aug 3 09:14:44 UTC 2022


On Wed, 3 Aug 2022 09:06:39 GMT, xpbob <duke at openjdk.org> wrote:

>> Container configuration information is useful for troubleshooting problems,Exposing information in MBeans is ideal for monitoring, jConsole, and other scenarios.
>> Results the following
>> ![图片](https://user-images.githubusercontent.com/7837910/177248834-50beefe9-4db6-470c-8f15-df5a93892804.png)
>
> xpbob has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - remove line
>  - add export

src/java.management/share/classes/module-info.java line 52:

> 50:     exports javax.management.remote;
> 51:     exports javax.management.timer;
> 52:     exports java.lang.management.internal.mBeans;

This package should not be exported (at least not to all modules).

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

PR: https://git.openjdk.org/jdk/pull/9372


More information about the core-libs-dev mailing list