On Wed, 11 Dec 2024 13:55:24 GMT, Kevin Walls <kev...@openjdk.org> wrote:
> Unnecessary duplication of small utility method. There should be only one > Util.newObjectName(). src/java.management/share/classes/javax/management/ObjectName.java line 40: > 38: import java.util.Map; > 39: > 40: import static sun.management.Util.newObjectName; What is the motivation for doing the static import? I prefer seeing Util.newObjectName(). ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22681#discussion_r1880745856