-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Add Java 15 CI #21604
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
Comments
There are simply no AdoptOpenJDK builds for JDK 15 yet. I wonder if Spring Framework uses OpenJDK EA builds!? |
We're doing JDK 15 for quite some time: https://github.com/AdoptOpenJDK/openjdk15-binaries/releases. But we don't surface them yet on the website. |
That's what I meant to say, sorry @aahlenst . Spring-Boot does a check against the API to check for JDK upgrades, which wouldn't work on 15 because it's not officially exposed to the outside. But that might be acceptable. |
Btw...I would volunteer to do this again for JDK 15. |
@dreis2211 If we can make anything easier, please open tickets in either https://github.com/AdoptOpenJDK/openjdk-website or https://github.com/AdoptOpenJDK/openjdk-api-v3. |
@aahlenst I think there is already AdoptOpenJDK/openjdk-api-v3#212 that at least is going in the same direction of a missing entry for JDK 15 ;) |
That would be great if you have time. Thanks @dreis2211! |
If there is no big pressure here, I'd like to resolve it in a way so that we don't have to skip the update logic for JDK 15, which means a little bit of waiting time until the AdoptOpenJDK issue is resolved. But I can also simply skip the update logic for JDK 15. Just let me know. |
I don't think getting automatic update right away is a blocker. If that changes the pipeline config too much, we can wait. |
It doesn't - from what I have in mind. Just wanted to have it clarified upfront. Will work on JDK 15 next week then ;) |
Closing in favour of PR #21173 |
In JDK 15 the concept of hidden classes was introduced, which also affects Lambdas in so far that Class.getCanonicalName() will return null for those. Using Class.getName() works around that behavior change. See spring-projectsgh-21604
JDK 15 introduces isEmpty() on CharSequence which clashes with the one declared in StringSequence because it is not public. See spring-projectsgh-21604
It might be a bit early for us (we waited for the JDK's RC phase for Java 14), but Framework 5.3 is building against Java 15 already. We should consider when we want to start doing the same.
The text was updated successfully, but these errors were encountered: