RFR: 8338139: {ClassLoading, Memory}MXBean::isVerbose methods are inconsistent with their setVerbose methods [v2]

Mark Reinhold mr at openjdk.org
Mon Aug 19 20:27:50 UTC 2024


On Mon, 19 Aug 2024 19:43:33 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> test/jdk/java/lang/management/MemoryMXBean/TestVerboseMemory.java line 50:
>> 
>>> 48:  */
>>> 49: 
>>> 50: import java.lang.management.*;
>> 
>> I thought we tried to avoid wild-card imports.
>
> Updated.

> I thought we tried to avoid wild-card imports.

Contrary to common opinion, there is no ban on wild-card imports.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20628#discussion_r1722310174


More information about the hotspot-runtime-dev mailing list