git: openjdk/leyden: computed-constants: Refactor to use @Stable state field

duke duke at openjdk.org
Tue Sep 5 07:08:18 UTC 2023


Changeset: ccf9155b
Author:    Per Minborg <pminborg at gmail.com>
Date:      2023-09-05 09:05:05 +0000
URL:       https://git.openjdk.org/leyden/commit/ccf9155b7de572ac003e10c302a71425796c3d70

Refactor to use @Stable state field

! src/java.base/share/classes/jdk/internal/constant/AbstractComputedConstant.java
- src/java.base/share/classes/jdk/internal/constant/ConstantUtil.java
! src/java.base/share/classes/jdk/internal/constant/ListElementComputedConstant.java
! src/java.base/share/classes/jdk/internal/constant/MethodHandleComputedConstant.java
! src/java.base/share/classes/jdk/internal/constant/StandardComputedConstant.java
+ src/java.base/share/classes/jdk/internal/constant/State.java



More information about the leyden-dev mailing list