Skip to content

8344925: translet-name ignored when package-name is also set #1412

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

Conversation

galderz
Copy link
Contributor

@galderz galderz commented Feb 19, 2025

This is a backport of JDK-8344925: translet-name ignored when package-name is also set

Original patch does not apply cleanly to 21u-dev, because of javadoc and license header year discrepancies.

Testing: tier1 and tier2 passed. Tier 2 includes the PropertiesTest test included in the original PR and individually verified that it passes.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8344925 needs maintainer approval

Issue

  • JDK-8344925: translet-name ignored when package-name is also set (Bug - P4 - Approved)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/1412/head:pull/1412
$ git checkout pull/1412

Update a local copy of the PR:
$ git checkout pull/1412
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/1412/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1412

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/1412.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 19, 2025

👋 Welcome back galder! 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
Copy link

openjdk bot commented Feb 19, 2025

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

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

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

8344925: translet-name ignored when package-name is also set

Reviewed-by: joehw

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 330 new commits pushed to 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 (@JoeWang-Java) 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 changed the title Backport 3989a199578fc1d91988cfdbb95f11dd6d4c7b81 8344925: translet-name ignored when package-name is also set Feb 19, 2025
@openjdk
Copy link

openjdk bot commented Feb 19, 2025

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

@openjdk openjdk bot added backport rfr Pull request is ready for review labels Feb 19, 2025
@mlbridge
Copy link

mlbridge bot commented Feb 19, 2025

Webrevs

@bridgekeeper
Copy link

bridgekeeper bot commented Mar 19, 2025

@galderz This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@galderz
Copy link
Contributor Author

galderz commented Mar 20, 2025

@JoeWang-Java Can you review this?

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 17, 2025

@galderz This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@galderz
Copy link
Contributor Author

galderz commented May 5, 2025

Keep it open

Copy link
Member

@JoeWang-Java JoeWang-Java 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. Thanks.

@openjdk
Copy link

openjdk bot commented May 5, 2025

⚠️ @galderz This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@galderz
Copy link
Contributor Author

galderz commented May 6, 2025

/approval request The bug impacts Red Hat middleware engineers trying to adopt JDK's xalan API

@openjdk
Copy link

openjdk bot commented May 6, 2025

@galderz
8344925: The approval request has been created successfully.

@openjdk openjdk bot added the approval label May 6, 2025
@Karm
Copy link

Karm commented May 6, 2025

@galderz

Platform JDK archive test/jaxp/javax/xml Results Test Status
Linux amd64 Download View 🟢
Linux aarch64 Download View 🟢
MacOS aarch64 Download View 🟢
Windows amd64 Download View 🟢

@GoeLin
Copy link
Member

GoeLin commented May 7, 2025

Hi @galderz
Could you pleas give some more information in your fix request? See also https://wiki.openjdk.org/display/JDKUpdates/How+to+contribute+or+backport+a+fix
Also, could you please merge head to get an up-to-date test run?

@GoeLin
Copy link
Member

GoeLin commented May 8, 2025

I successfully ran this through SAPs testing.

@openjdk openjdk bot removed the approval label May 8, 2025
@galderz
Copy link
Contributor Author

galderz commented May 9, 2025

/approval request The bug impacts Red Hat middleware engineers trying to adopt JDK's xalan API. Without this fix, it is not possible to fix the generated class name rather than being random. This is necessary so that Java code that relies on JDK's xalan API can run fine when compiled as a GraalVM native image, which requires class names that are loaded via reflection to be configured in advance.

@openjdk
Copy link

openjdk bot commented May 9, 2025

@galderz
8344925: The approval request has been updated successfully.

@openjdk openjdk bot added the approval label May 9, 2025
@galderz
Copy link
Contributor Author

galderz commented May 9, 2025

I've updated to the latest master

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed approval labels May 9, 2025
@galderz
Copy link
Contributor Author

galderz commented May 14, 2025

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label May 14, 2025
@openjdk
Copy link

openjdk bot commented May 14, 2025

@galderz
Your change (at version 738fa78) is now ready to be sponsored by a Committer.

@jerboaa
Copy link
Contributor

jerboaa commented May 14, 2025

/sponsor

@openjdk
Copy link

openjdk bot commented May 14, 2025

Going to push as commit eb8320c.
Since your change was applied there have been 330 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label May 14, 2025
@openjdk openjdk bot closed this May 14, 2025
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels May 14, 2025
@openjdk
Copy link

openjdk bot commented May 14, 2025

@jerboaa @galderz Pushed as commit eb8320c.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

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

Successfully merging this pull request may close these issues.

5 participants