On Wed, 3 Aug 2022 09:06:39 GMT, xpbob <d...@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

Reply via email to