Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8241504: Expose MemoryLayout annotations/attributes in the public API (foreign-jextract part) #69

Closed

Conversation

JornVernee
Copy link
Member

@JornVernee JornVernee commented Mar 26, 2020

Hi,

These are the jextract changes needed after exposing layout attributes in the public API. This also fixes the pending merge conflict, which was closely related to the needed changes.

Jorn


Progress

  • Change must not contain extraneous whitespace
  • Change must be properly reviewed

Issue

  • JDK-8241504: Expose MemoryLayout annotations/attributes in the public API

Reviewers

Download

$ git fetch https://git.openjdk.java.net/panama-foreign pull/69/head:pull/69
$ git checkout pull/69

@bridgekeeper
Copy link

bridgekeeper bot commented Mar 26, 2020

👋 Welcome back jvernee! A progress list of the required criteria for merging this PR into foreign-jextract will be added to the body of your pull request.

@openjdk openjdk bot added the rfr Ready for review label Mar 26, 2020
@mlbridge
Copy link

mlbridge bot commented Mar 26, 2020

Webrevs

@JornVernee
Copy link
Member Author

JornVernee commented Mar 26, 2020

So, this includes a merge for: #68 and some other jextract fixes. Both are needed to get foreign-jextract building & passing tests again. Just the other changes besides the merge can be seen when looking at the diff for the last commit: a107472

Copy link
Collaborator

@mcimadamore mcimadamore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@openjdk
Copy link

openjdk bot commented Mar 26, 2020

@JornVernee This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type /integrate in a new comment to proceed. After integration, the commit message will be:

8241504: Expose MemoryLayout annotations/attributes in the public API (foreign-jextract part)

Reviewed-by: mcimadamore
  • If you would like to add a summary, use the /summary command.
  • To credit additional contributors, use the /contributor command.
  • To add additional solved issues, use the /solves command.

➡️ To integrate this PR with the above commit message, type /integrate in a new comment.

@openjdk openjdk bot added the ready Ready to be integrated label Mar 26, 2020
@JornVernee
Copy link
Member Author

/integrate

@openjdk openjdk bot closed this Mar 26, 2020
@openjdk openjdk bot added integrated Pull request has been integrated and removed ready Ready to be integrated rfr Ready for review labels Mar 26, 2020
@openjdk
Copy link

openjdk bot commented Mar 26, 2020

@JornVernee
Pushed as commit f0cd102.

@JornVernee JornVernee deleted the Attributes-jextract branch March 26, 2020 15:52
@mlbridge
Copy link

mlbridge bot commented Mar 26, 2020

Mailing list message from Jorn Vernee on panama-dev:

Changeset: f0cd102
Author: Jorn Vernee <jvernee at openjdk.org>
Date: 2020-03-26 15:52:22 +0000
URL: https://git.openjdk.java.net/panama-foreign/commit/f0cd1026

8241504: Expose MemoryLayout annotations/attributes in the public API (foreign-jextract part)

Reviewed-by: mcimadamore

! src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/AbstractLayout.java
! src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/GroupLayout.java
! src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemoryLayout.java
! src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemoryLayouts.java
! src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/PaddingLayout.java
! src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/SequenceLayout.java
! src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/SystemABI.java
! src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/ValueLayout.java
! src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/Utils.java
! src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java
! src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java
! src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java
! src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/abi/x64/windows/Windowsx64ABI.java
! src/jdk.incubator.jextract/share/classes/jdk/incubator/jextract/tool/JavaSourceBuilder.java
! src/jdk.incubator.jextract/share/classes/jdk/internal/jextract/impl/Utils.java
! test/jdk/java/foreign/NativeTestHelper.java
+ test/jdk/java/foreign/TestLayoutAttributes.java
! test/jdk/java/foreign/TestLayoutConstants.java
! test/jdk/tools/jextract/JextractToolRunner.java
! test/jdk/tools/jextract/testStruct/LibStructTest.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated
3 participants