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

Fix validation test for Java 15 #1052

Merged
merged 2 commits into from May 19, 2020
Merged

Conversation

marchof
Copy link
Member

@marchof marchof commented May 19, 2020

With second preview the constructors of records now get the same access
modifier than the class (see JDK-8242479).

For "record WithoutFields" this leads to an private empty default
constructor which is filtered out by PrivateEmptyNoArgConstructorFilter.

Removing private modifiers from records to have consistent results
between first and second preview.

With second preview the constructors of records now get the same access
modifier than the class (see JDK-8242479).

For "record WithoutFields" this leads to an private empty default
constructor which is filtered out by PrivateEmptyNoArgConstructorFilter.

Removing private modifiers from records to have consistent results
between first and second preview.
@marchof marchof requested a review from Godin May 19, 2020 19:45
@marchof marchof self-assigned this May 19, 2020
@marchof
Copy link
Member Author

marchof commented May 19, 2020

Build with latest JDK-15 build is green: https://pici.beachhub.io/#/jdk-jacoco/20200519-191453

@Godin Godin added this to Implementation in Current work items via automation May 19, 2020
@Godin Godin moved this from Implementation to Review in Current work items May 19, 2020
@Godin Godin added this to the 0.8.6 milestone May 19, 2020
@Godin Godin merged commit d60a5b2 into master May 19, 2020
Current work items automation moved this from Review to Done May 19, 2020
@Godin Godin deleted the java15-records-validation-test branch May 19, 2020 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants