RFR: 8332109: Convert remaining tests using com.sun.tools.classfile to ClassFile API
duke
duke at openjdk.org
Thu Jul 11 21:18:08 UTC 2024
On Sun, 12 May 2024 08:36:44 GMT, Chen Liang <liach at openjdk.org> wrote:
> Some tests are not migrated to the ClassFile API in previous migrations.
>
> - Some are simple oversights that didn't remove usages of com.sun.tools.classfile;
> - The CallerSensitive ones used an old utility, replaced by CF API-based new code;
> - many in javac are because the files are compiled with older source compatibility. Those patches are converted to have the source code stored in text blocks and compiled within tests using `ToolBox#writeJavaFiles` and `CompilerUtils.compile`;
> - As described in the JBS issue, there are a few other tests not covered; one is in #19193 while the others are blocked by CreateSymbols migration or bugs.
>
> Testing: all modified tests pass.
@liach
Your change (at version 4880f3a375ff46a4be94d0fe483f8ec927f1933a) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19206#issuecomment-2117386568
More information about the core-libs-dev
mailing list