RFR: 8356577: Migrate ClassFileVersionTest to be feature-agnostic
Alan Bateman
alanb at openjdk.org
Fri May 9 06:28:52 UTC 2025
On Thu, 8 May 2025 20:05:56 GMT, Chen Liang <liach at openjdk.org> wrote:
> In #24923 we noted that ClassFileVersionTest depends on arbitrary preview features to have javac mark itself as preview. This creates an extra, hard-to-detect dependency on those features, and make its maintenance costly. The best way to have a class that has preview bit is to use ClassFile API to generate such a simple class instead, now that ClassFile API is available.
>
> Testing: This test itself
Good okay, thanks for getting this updated to avoid the SV JEP changes needing to deal with this.
-------------
Marked as reviewed by alanb (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25128#pullrequestreview-2827152214
More information about the hotspot-runtime-dev
mailing list