Skip to content

Add a currently-failing test for Java records and @Ignore it.#2203

Merged
eamonnmcmanus merged 7 commits into
google:masterfrom
eamonnmcmanus:recordtest
Sep 27, 2022
Merged

Add a currently-failing test for Java records and @Ignore it.#2203
eamonnmcmanus merged 7 commits into
google:masterfrom
eamonnmcmanus:recordtest

Conversation

@eamonnmcmanus
Copy link
Copy Markdown
Member

@eamonnmcmanus eamonnmcmanus commented Sep 27, 2022

Also do the Maven gymastics required to ensure that this test only compiles on Java versions ≥17. (It would also work on Java 16, but 17 is all we have in the CI.)

Fix some compilation problems I saw when running locally, which for some reason don't show up in the CI.

Also do the Maven gymastics required to ensure that this test only runs on Java
versions ≥17. (It would also work on Java 16, but 17 is all we have in the CI.)

Fix some compilation problems I saw when running locally, which for some reason
don't show up in the CI.
We may fix these later. (Every test will need an explicit constructor!)
Comment thread gson/pom.xml Outdated
Comment thread gson/src/test/java/com/google/gson/functional/Java17RecordTest.java
Comment thread gson/src/test/java/com/google/gson/functional/ReflectionAccessFilterTest.java Outdated
Comment thread gson/pom.xml
Comment thread pom.xml
@eamonnmcmanus
Copy link
Copy Markdown
Member Author

I think this is close enough now. Thanks for the feedback, @Marcono1234! We can tweak further as needed.

@eamonnmcmanus eamonnmcmanus merged commit 441406c into google:master Sep 27, 2022
@eamonnmcmanus eamonnmcmanus deleted the recordtest branch September 27, 2022 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants