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

WW-5533 Add compilation support for Jakarta EE 11 #1233

Merged
merged 1 commit into from
Feb 25, 2025
Merged

Conversation

kusalk
Copy link
Member

@kusalk kusalk commented Feb 24, 2025

WW-5533

This PR adds an additional build job which ensures compilation compatibility with the upcoming Jakarta EE 11 and Spring 7. It ensures we do not make any code changes which may break forwards compatibility with those releases (e.g. using an API which no longer exists in Jakarta EE 11 or Spring 7).

By using a profile, we can continue to compile against both Jakarta EE 10 and 11, avoiding the need for separate release branches for as long as practical.

This change does NOT ensure compatibility with Tomcat 11.0. That will likely require a follow-up change where we update our Showcase app to use Tomcat 10.1 (and override to 11.0 when the Jakarta EE 11 profile is activated).

Open to feedback on this approach

@kusalk kusalk force-pushed the WW-5533-jee11-supp branch from b247751 to 97e08a7 Compare February 24, 2025 10:33
@kusalk kusalk force-pushed the WW-5533-jee11-supp branch from 97e08a7 to dfd54c9 Compare February 25, 2025 01:59
Base automatically changed from WW-5532-upg-deps to main February 25, 2025 08:34
@kusalk kusalk force-pushed the WW-5533-jee11-supp branch from dfd54c9 to 720a8b6 Compare February 25, 2025 08:39
@kusalk kusalk changed the base branch from main to WW-5376-bom-fix February 25, 2025 08:39
Base automatically changed from WW-5376-bom-fix to main February 25, 2025 11:16
@kusalk kusalk requested a review from lukaszlenart February 25, 2025 11:21
@kusalk kusalk force-pushed the WW-5533-jee11-supp branch from 720a8b6 to fa95171 Compare February 25, 2025 12:34
@kusalk kusalk marked this pull request as ready for review February 25, 2025 12:35
@@ -417,7 +417,6 @@ public void mismatchCharset() throws IOException {
assertThat(JakartaServletDiskFileUpload.isMultipartContent(mockRequest)).isTrue();

// when
mockRequest.setCharacterEncoding(null);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already null so can just delete it without affecting the test

@kusalk kusalk merged commit 1100a34 into main Feb 25, 2025
8 of 9 checks passed
@kusalk kusalk deleted the WW-5533-jee11-supp branch February 25, 2025 12:46
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