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

8320575: generic type information lost on mandated parameters of record's compact constructors #1026

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GoeLin
Copy link
Member

@GoeLin GoeLin commented Oct 7, 2024

I backport this for parity with 21.0.6-oracle.

As the CSR for 21 says, I omit the specification changes.
These make the description more precise. As I understand,
the change brought to 21 is ok with the broader, unchanged
specification.

The rest applied clean.


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-8320575 needs maintainer approval
  • Change requires CSR request JDK-8337480 to be approved

Warning

 ⚠️ Found leading lowercase letter in issue title for 8320575: generic type information lost on mandated parameters of record's compact constructors

Issues

  • JDK-8320575: generic type information lost on mandated parameters of record's compact constructors (Bug - P3)
  • JDK-8337480: generic type information lost on mandated parameters of record's compact constructors (CSR)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1026

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

Using diff file

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

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 7, 2024

👋 Welcome back goetz! 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 Oct 7, 2024

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot changed the title Backport 7bf1989f59695c3d08b4bd116fb4c022cf9661f4 8320575: generic type information lost on mandated parameters of record's compact constructors Oct 7, 2024
@openjdk
Copy link

openjdk bot commented Oct 7, 2024

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 Oct 7, 2024
@mlbridge
Copy link

mlbridge bot commented Oct 7, 2024

Webrevs

@openjdk
Copy link

openjdk bot commented Oct 7, 2024

@GoeLin Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@openjdk
Copy link

openjdk bot commented Oct 8, 2024

⚠️ @GoeLin 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.

@GoeLin
Copy link
Member Author

GoeLin commented Oct 11, 2024

Hi @vicente-romero-oracle, @jddarcy, @weibxiao,
could one of you please verify whether I modified this correctly to match the backport CSR?
Thanks!

@weibxiao
Copy link

For class Excectable.java, three methods got changed. It seems you only modified one. All comments for the modified methods were not there.

@GoeLin
Copy link
Member Author

GoeLin commented Oct 11, 2024

Hi Weibing,

thanks for having a look!

Well, the comment of three methods got changed but only one has code changes. At least the public commit openjdk/jdk@7bf1989 touches only the code of getGenericParameterTypes().

I omitted the comments on purpose because the CSR for 21 8337480 does not mention the comment change as the original one 8321819 does. Also, I read the discussion in the comments like that.

So you are saying you backported all the comments to 21? If so. I'll add them, too.

Thanks, Goetz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

3 participants