Dear James Community,
SparkJava (com.sparkjava:spark-core) is a critical dependency in the James
codebase,used across 90+ files, but has entered an unmaintained state:
* 200+ unresolved issues on GitHub* No active development for 3 years (last
commit: July 2022)* Compatibility risks with modern Java/Jakarta EE* Security
concerns due to outdated dependencies
-------------------------PROPOSED SOLUTION-------------------------Adopt the
maintained spark-11 fork by nmondal:https://github.com/nmondal/spark-11
Key improvements:---------------------------------- Modern Java 17+ baseline-
Virtual thread (Java 21) support- Jetty 12 integration (HTTP/2.0 compatible)-
javax -> jakarta API migration- Websocket refactoring for Jetty 11+
Diff comparison with
upstream:https://github.com/perwendel/spark/compare/master...nmondal:spark-11:master
------------------------- NEXT STEPS------------------------- 1. Community
review of spark-11 fork2. Update dependency and ensure green build3. Develop
regression tests
Please share your thoughts on this proposal.
Best regards,Houssem NASRI