Modernization: Upgrade to Java 17, Spring 6, and Jakarta EE Ecosystem#60
Open
mcarbonneaux wants to merge 1 commit into
Open
Modernization: Upgrade to Java 17, Spring 6, and Jakarta EE Ecosystem#60mcarbonneaux wants to merge 1 commit into
mcarbonneaux wants to merge 1 commit into
Conversation
da5b564 to
9806efe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This Pull Request represents a comprehensive modernization of JRadius, transitioning the codebase from legacy Java 5/6 and outdated dependencies (Spring 3.x, Log4j 1.2) to Java 17 and the Spring 6 / Jakarta EE 9+ ecosystem.
The goal of this update is to ensure JRadius remains compatible with modern JVMs, improves type safety, and resolves critical security concerns associated with end-of-life libraries.
Key Changes
1. Java 17 Migration
maven.compiler.release,source, andtargetto 17.ObjectPool<FreeRadiusRequest>now utilize the diamond operator and proper generics.clazz.newInstance()) toclazz.getDeclaredConstructor().newInstance().new Integer()) withInteger.valueOf().DataInputStream.readLine()usage toBufferedReaderfor better character encoding handling.2. Spring 6 & Jakarta Transition
javax.*packages (Swing/SSL) remain, the core framework is now ready for modern Jakarta-based deployments.3. Modern Logging Stack
log4j-slf4j2-implfor modern logging abstraction.log4j.propertiesto a structuredlog4j2.xml.4. Enhanced Testing & Build
${revision}properties for consistent versioning across all modules..gitignoreand consolidated project documentation into a primaryREADME.md.Impact
This upgrade resolves long-standing deprecation warnings and significantly improves the developer experience. By moving to Java 17 and Spring 6, JRadius can now benefit from modern performance optimizations, better security patches, and compatibility with contemporary containerized environments.