Integrated: 7903933: Move sharable items from different generations to a common file
Nizar Benalla
nbenalla at openjdk.org
Thu May 8 15:18:12 UTC 2025
On Mon, 3 Feb 2025 18:16:48 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:
> Please review this patch to move the `C_*` layouts and the static utility methods into separate classes: `LayoutUtils.java` and `FFMUtils.java`, respectively.
>
> - The names could later be personalized through a JSON configuration.
> - We can use static imports if the `-t` option is no used and the files are generated into the default package, in that case we use the classname to call the static methods or use the `C_*` constants.
>
> Some tests had to be modified slightly, either by adding new static imports or replacing classnames.
This pull request has now been integrated.
Changeset: ab6b30fd
Author: Nizar Benalla <nbenalla at openjdk.org>
Committer: Jorn Vernee <jvernee at openjdk.org>
URL: https://git.openjdk.org/jextract/commit/ab6b30fd189e33a52d366846202f2e9b9b280142
Stats: 249 lines in 12 files changed: 166 ins; 11 del; 72 mod
7903933: Move sharable items from different generations to a common file
Reviewed-by: mcimadamore, jvernee
-------------
PR: https://git.openjdk.org/jextract/pull/278
More information about the jextract-dev
mailing list