git: openjdk/jdk: 8273140: Replace usages of Enum.class.getEnumConstants() with Enum.values() where possible
Thomas Schatzl
tschatzl at openjdk.java.net
Thu Sep 2 08:11:41 UTC 2021
Changeset: 152e6692
Author: Sergey Tsypanov <sergei.tsypanov at yandex.ru>
Committer: Thomas Schatzl <tschatzl at openjdk.org>
Date: 2021-09-02 08:10:40 +0000
URL: https://git.openjdk.java.net/jdk/commit/152e66923dc36cfd83cdfe18e96631abc06b9199
8273140: Replace usages of Enum.class.getEnumConstants() with Enum.values() where possible
Reviewed-by: tschatzl
! src/java.desktop/share/classes/sun/font/AttributeValues.java
! src/java.desktop/share/classes/sun/font/EAttribute.java
! src/java.sql/share/classes/java/sql/JDBCType.java
! test/hotspot/jtreg/vmTestbase/gc/g1/unloading/bytecode/SourceGenerator.java
More information about the jdk-changes
mailing list