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

8238316: jextract emits a C_BOOL when source says char #25

Closed

Conversation

sundararajana
Copy link
Member

@sundararajana sundararajana commented Feb 21, 2020

Using SystemABI.Type of MemoryLayouts to generate layout constants


Progress

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

Issue

  • JDK-8238316: jextract emits a C_BOOL when source says char

Reviewers

Download

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

Sorry, something went wrong.

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 21, 2020

👋 Welcome back sundar! 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 Feb 21, 2020
@mlbridge
Copy link

mlbridge bot commented Feb 21, 2020

Webrevs

* adjusted test as suggested in the review.
* support for "long double" for all platforms and expanded test.
Copy link
Member

@JornVernee JornVernee 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 Feb 24, 2020

@sundararajana 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:

8238316: jextract emits a C_BOOL when source says char

Reviewed-by: jvernee, 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 Feb 24, 2020
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, I'm not 100% sure if we've dealt with COMPLEX_LONGDOUBLE in all required places.

@@ -61,21 +61,24 @@ public static String getName(Cursor cursor) {

public static MemoryLayout getLayout(Type t) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

What about COMPLEX_LONGDOUBLE and friends here?

Verified

This commit was signed with the committer’s verified signature.
abrown Andrew Brown
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

@sundararajana
Copy link
Member Author

/integrate

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

openjdk bot commented Feb 24, 2020

@sundararajana
Pushed as commit 328f168.

@sundararajana sundararajana deleted the JDK-8238316 branch February 24, 2020 13:56
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
Development

Successfully merging this pull request may close these issues.

None yet

3 participants