uPortal 6 progress on Java 17/21

13 views
Skip to first unread message

Benito Gonzalez

unread,
May 2, 2025, 8:02:40 PMMay 2
to uPortal Community, Developers, uPortal
Hi folks,

Our current effort for uPortal 6 is to make sure that the code compiles under Java 21. Yes, we are testing against Java 21 for now even though we are only committing to Java 17. We started at v21 and feel that both will work. We are finding on a few code changes are needed for compatibility. These are mostly autoboxing or lack there of.

So far, we have PRs for the following repos:
- Announcements
- Jasig Widgets
- Feedback
- Courses
- Bookmarks
- Calendar

Note that we are testing against compile. We know that some of these portlets will not run under Java 21 because some dependencies do not. 

Also, Gradle is more sensitive to Java versions than Maven. As such, we also need to upgrade Grade for the few repos that use it. We are investigating a return to Maven if Gradle is just building war files. Notifications is the first Gradle repo we are reviewing. More on this in the future.

Have a great weekend!
- bjagg

--
Benito J. Gonzalez
Software Architect
Unicon, Inc.
GitHub:  bjagg
GitLab:  bjagg
BitBucket:  bgon...@unicon.net

Reply all
Reply to author
Forward
0 new messages