Skip to content

8273278: Support XSLT on GraalVM Native Image--deterministic bytecode generation in XSLT #324

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

Closed
wants to merge 1 commit into from
Closed

8273278: Support XSLT on GraalVM Native Image--deterministic bytecode generation in XSLT #324

wants to merge 1 commit into from

Conversation

jovanstevanovic
Copy link

@jovanstevanovic jovanstevanovic commented Sep 10, 2021

This PR is backporting changes from PR on the OpenJDK repo.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Issue

  • JDK-8273278: Support XSLT on GraalVM Native Image--deterministic bytecode generation in XSLT

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk11u-dev pull/324/head:pull/324
$ git checkout pull/324

Update a local copy of the PR:
$ git checkout pull/324
$ git pull https://git.openjdk.java.net/jdk11u-dev pull/324/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 324

View PR using the GUI difftool:
$ git pr show -t 324

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jdk11u-dev/pull/324.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 10, 2021

👋 Welcome back jovanstevanovic! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added the rfr Pull request is ready for review label Sep 10, 2021
@mlbridge
Copy link

mlbridge bot commented Sep 10, 2021

Webrevs

@jovanstevanovic jovanstevanovic changed the title 8273278: Improving XSLT support for GraalVM's Native Image 8273278: Support XSLT on GraalVM Native Image--deterministic bytecode generation in XSLT Sep 10, 2021
@RealCLanger
Copy link
Contributor

Hi, @jovanstevanovic, Thanks for doing this backport.
First of all, can you also bring this to JDK17u as this is an LTS as well and we should not miss this in there. Furthermore, could you enable GithubActions testing on your fork? And, one more thing - what did you have to modify for this backport? Thanks 😄

@jovanstevanovic
Copy link
Author

Hi, @jovanstevanovic, Thanks for doing this backport.
First of all, can you also bring this to JDK17u as this is an LTS as well and we should not miss this in there. Furthermore, could you enable GithubActions testing on your fork? And, one more thing - what did you have to modify for this backport? Thanks, smile

Hi, @RealCLanger, Thank you for your time!

  • PR on JDK17 is here.
  • GHAction is enabled.
  • Last but not least. Without these changes, XSLT is not working on GraalVM's Native Image. So we need to backport these changes into JDK11, and then, before a new release of Native Image, we will backport these changes into labsjdk11, which is our own specific version of JDK11.

@RealCLanger
Copy link
Contributor

RealCLanger commented Sep 13, 2021

Hi, @jovanstevanovic, Thanks for doing this backport.
First of all, can you also bring this to JDK17u as this is an LTS as well and we should not miss this in there. Furthermore, could you enable GithubActions testing on your fork? And, one more thing - what did you have to modify for this backport? Thanks, smile

Hi, @RealCLanger, Thank you for your time!

  • PR on JDK17 is here.
  • GHAction is enabled.
  • Last but not least. Without these changes, XSLT is not working on GraalVM's Native Image. So we need to backport these changes into JDK11, and then, before a new release of Native Image, we will backport these changes into labsjdk11, which is our own specific version of JDK11.

OK, great. Now this PR is not properly recognized as backport of JDK-8273278. To fix this, please rename this PR (modify its title) into "Backport f690a01f1e5de4ace39aefad656cb7c99f9ec4e1". That's the hash of the original commit. The bots will recognize this and then correctly process the PR. Please do the same for the 17u Backport.

@jovanstevanovic jovanstevanovic changed the title 8273278: Support XSLT on GraalVM Native Image--deterministic bytecode generation in XSLT Backport f690a01f1e5de4ace39aefad656cb7c99f9ec4e1 Sep 13, 2021
@openjdk openjdk bot changed the title Backport f690a01f1e5de4ace39aefad656cb7c99f9ec4e1 8273278: Support XSLT on GraalVM Native Image--deterministic bytecode generation in XSLT Sep 13, 2021
@openjdk
Copy link

openjdk bot commented Sep 13, 2021

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added the backport label Sep 13, 2021
@jovanstevanovic
Copy link
Author

Hi, @jovanstevanovic, Thanks for doing this backport.
First of all, can you also bring this to JDK17u as this is an LTS as well and we should not miss this in there. Furthermore, could you enable GithubActions testing on your fork? And, one more thing - what did you have to modify for this backport? Thanks, smile

Hi, @RealCLanger, Thank you for your time!

  • PR on JDK17 is here.
  • GHAction is enabled.
  • Last but not least. Without these changes, XSLT is not working on GraalVM's Native Image. So we need to backport these changes into JDK11, and then, before a new release of Native Image, we will backport these changes into labsjdk11, which is our own specific version of JDK11.

OK, great. Now this PR is not properly recognized as backport of JDK-8273278. To fix this, please rename this PR (modify its title) into "Backport f690a01f1e5de4ace39aefad656cb7c99f9ec4e1". That's the hash of the original commit. The bots will recognize this and then correctly process the PR. Please do the same for the 17u Backport.

My bad. Done.

Copy link
Contributor

@RealCLanger RealCLanger left a comment

Choose a reason for hiding this comment

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

Seems like some manual resolving of the changes to MethodGenerator.java was needed, but this looks correct.

@RealCLanger
Copy link
Contributor

Now you still need to do the jdk11u-fix-request dance in JBS to obtain push approval. 😄

@openjdk
Copy link

openjdk bot commented Sep 13, 2021

⚠️ @jovanstevanovic the full name on your profile does not match the author name in this pull requests' HEAD commit. If this pull request gets integrated then the author name from this pull requests' HEAD commit will be used for the resulting commit. If you wish to push a new commit with a different author name, then please run the following commands in a local repository of your personal fork:

$ git checkout jovanstevanovic/improving-xslt-support-for-native-image
$ git commit -c user.name='Preferred Full Name' --allow-empty -m 'Update full name'
$ git push

@openjdk
Copy link

openjdk bot commented Sep 13, 2021

@jovanstevanovic This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8273278: Support XSLT on GraalVM Native Image--deterministic bytecode generation in XSLT

Reviewed-by: clanger

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 1 new commit pushed to the master branch:

  • 1868c15: 8237354: Add option to jcmd to write a gzipped heap dump

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@RealCLanger) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Sep 13, 2021
@RealCLanger
Copy link
Contributor

/integrate

It's not yet allowed to merge this. For OpenJDK update releases it's not sufficient to have a fromal review in the PR but the release maintainers need to approve a change whether it is appropriate to go into an update release. You can read more about the process here: https://wiki.openjdk.java.net/display/JDKUpdates/JDK11u

So, as I've written above, you need to add a jdk11u-fix-request label to the bug and a comment about reason, risk and testing. Same goes for jdk17u.

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Sep 13, 2021
@openjdk
Copy link

openjdk bot commented Sep 13, 2021

@jovanstevanovic
Your change (at version fc83918) is now ready to be sponsored by a Committer.

@jovanstevanovic
Copy link
Author

/integrate

It's not yet allowed to merge this. For OpenJDK update releases it's not sufficient to have a fromal review in the PR but the release maintainers need to approve a change whether it is appropriate to go into an update release. You can read more about the process here: https://wiki.openjdk.java.net/display/JDKUpdates/JDK11u

So, as I've written above, you need to add a jdk11u-fix-request label to the bug and a comment about reason, risk and testing. Same goes for jdk17u.

Sorry, I didn't see the above comment. I'll add the labels and explanation 😄

@RealCLanger
Copy link
Contributor

@jovanstevanovic As this backport was rejected (for details see JBS issue comments), I would like to ask you to close this PR. Thanks!

@jovanstevanovic
Copy link
Author

@jovanstevanovic As this backport was rejected (for details see JBS issue comments), I would like to ask you to close this PR. Thanks!

Yes, I see, sure! Thank you for your guidance! 😄

@jovanstevanovic jovanstevanovic deleted the jovanstevanovic/improving-xslt-support-for-native-image branch October 12, 2021 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored
Development

Successfully merging this pull request may close these issues.

2 participants