Skip to content

Fix spring-orm tests with eclipselink and Java 18+ #31078

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

Closed
wants to merge 2 commits into from

Conversation

bdshadow
Copy link
Contributor

No description provided.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Aug 20, 2023
Fix kotlin scripts compatibility with jre 19+

Closes spring-projectsgh-30648

Signed-off-by: Dmitrii Bocharov <[email protected]>
Fix spring-orm tests with eclipselink for jre 18+

Closes spring-projectsgh-30648

Signed-off-by: Dmitrii Bocharov <[email protected]>
@sdeleuze sdeleuze self-requested a review August 21, 2023 08:56
@sdeleuze sdeleuze added the theme: kotlin An issue related to Kotlin support label Aug 21, 2023
@sdeleuze sdeleuze self-assigned this Aug 21, 2023
@sdeleuze sdeleuze removed their request for review August 21, 2023 09:05
@sdeleuze
Copy link
Contributor

This has already been handled by #29249 and #30896, Kotlin 1.9.0 does not support Java 21 and your PR contains unrelated changed like the JPA update. As a consequence, I decline this PR.

@sdeleuze sdeleuze closed this Aug 21, 2023
@sdeleuze sdeleuze added status: invalid An issue that we don't feel is valid and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Aug 21, 2023
@bdshadow
Copy link
Contributor Author

@sdeleuze it contains JPA update, because the issue reported by @sbrannen, which I fixed is about JPA: #30648

@bdshadow
Copy link
Contributor Author

actually, that's why i made 2 commits. I can remove the one for kotlin fixes

@snicoll
Copy link
Member

snicoll commented Oct 24, 2023

Let's have a look to the other commit indeed.

@snicoll snicoll reopened this Oct 24, 2023
@snicoll snicoll changed the title FIx jpa and kotlin-scripts test for Java 18+ Fix spring-orm tests with eclipselink and Java 18+ Oct 24, 2023
@snicoll snicoll removed status: invalid An issue that we don't feel is valid theme: kotlin An issue related to Kotlin support labels Oct 24, 2023
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 24, 2023
@snicoll
Copy link
Member

snicoll commented Oct 24, 2023

Unfortunately, we can't change the dependency of Eclipselink like that as we need to build against 3.0 to match our JPA 3.0 / EE 9 baseline. We should probably see if we can change the dependency when the tests run with Java 21.

@snicoll snicoll closed this Oct 24, 2023
@snicoll snicoll added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Oct 24, 2023
@snicoll
Copy link
Member

snicoll commented Oct 24, 2023

However, @jhoeller pointed out that Eclipselink 3.0.4-RC1 was released this week and could be used instead.

@snicoll snicoll reopened this Oct 24, 2023
@snicoll snicoll added type: task A general task and removed status: declined A suggestion or change that we don't feel we should currently apply labels Oct 24, 2023
@snicoll snicoll self-assigned this Oct 24, 2023
@snicoll snicoll added this to the 6.1.0-RC2 milestone Oct 24, 2023
snicoll pushed a commit that referenced this pull request Oct 24, 2023
snicoll added a commit that referenced this pull request Oct 24, 2023
We can't upgrade to Eclipselink 4 as it would change the baseline that
this generation uses. However, there is a recent release in the current
line that adds compatibility with recent JDKs.

See gh-31078
@snicoll snicoll closed this in 1022e09 Oct 24, 2023
bclozel added a commit that referenced this pull request Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants