RFR: 8362376: Use @Stable annotation in Java FDLIBM implementation
Shaojin Wen
swen at openjdk.org
Thu Jul 17 11:00:49 UTC 2025
On Thu, 17 Jul 2025 10:27:27 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
>> Add `@Stable` to the static final arrays used in the Java port of FDLIBM.
>
> src/java.base/share/classes/java/lang/FdLibm.java line 815:
>
>> 813: */
>> 814:
>> 815: private static final int init_jk[] = {2, 3, 4, 6}; // initial value for jk
>
> Suggestion:
>
> @Stable private static final int init_jk[] = {2, 3, 4, 6}; // initial value for jk
Suggestion:
@Stable
private static final int[] init_jk = {2, 3, 4, 6}; // initial value for jk
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26341#discussion_r2213028734
More information about the core-libs-dev
mailing list