[foreign-jextract] [Rev 02] RFR: 8239809: Need API to access attributes
Henry Jen
henryjen at openjdk.java.net
Thu Feb 27 05:49:09 UTC 2020
> Add API to allow associate attributes with Declaration.
>
> An attribute can have multiple values, thus a list of ConstantDesc.
>
> The test case is based on [JDK-8223105](https://bugs.openjdk.java.net/browse/JDK-8223105), Windows test is simply parsing at this point, need to add validation as the header is implemented differently.
>
> We may want to add a more generic test case with some standard attributes.
The pull request has been updated with 1 additional commit.
-------------
Added commits:
- 49b308e4: Use Constable for attribute, add withAttributes and stripAttributes in Declaration
Changes:
- all: https://git.openjdk.java.net/panama-foreign/pull/33/files
- new: https://git.openjdk.java.net/panama-foreign/pull/33/files/170b9ba8..49b308e4
Webrevs:
- full: https://webrevs.openjdk.java.net/panama-foreign/33/webrev.02
- incr: https://webrevs.openjdk.java.net/panama-foreign/33/webrev.01-02
Stats: 152 lines in 5 files changed: 70 ins; 21 del; 61 mod
Patch: https://git.openjdk.java.net/panama-foreign/pull/33.diff
Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/33/head:pull/33
PR: https://git.openjdk.java.net/panama-foreign/pull/33
More information about the panama-dev
mailing list