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 SpringDocApp193Test for Java 21 and above. Fixes #2442. #2669

Conversation

dgswan
Copy link
Contributor

@dgswan dgswan commented Aug 5, 2024

Fix SpringDocApp193Test for Java 21 and above. In Java 21 the getFirst() and getLast() methods were added to the java.util.List interface. Those are the POJO getters, therefore Jackson will add them during serialization. There are two different expected results for Java prior 21 and starting from Java 21. Fixes #2442.

…irst()` and `getLast()`` methods were added to the `java.util.List` interface. Those are the POJO getters, therefore Jackson will add them during serialization. So there are two different expected results for Java prior 21 and starting from Java 21. Fixes springdoc#2442.
@bnasslahsen bnasslahsen merged commit 39e15fe into springdoc:main Sep 17, 2024
1 check passed
@dgswan dgswan deleted the bugfix/T-2442-fix-springdoc-app193-test-for-java21-and-above branch September 18, 2024 08: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.

Build(Test) error on version 2.3.0 with JDK 21
2 participants