War Story: How we rolled out Java 11 support in Jenkins
summary
A case-study of migrating the large Jenkins codebase to support Java 11 while remaining compatible with Java 8. Covers concrete problems encountered in a big Maven project—module system and multi-release JAR issues, reflection/classloading and removed Java EE/Jakarta APIs—and explains the build/test approaches used (Maven/Gradle tooling, automated multi-Java testing) and the migration outcomes.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 4:59Java 11 migration
- 7:52Hackathon findings
- 10:01Jenkins architecture
- 13:40First build attempt
- 14:21Bytecode transformer issues
- 16:49Dependency conflicts
- 21:23Maven enforcer plugin
- 26:21Java modules challenges
- 31:59Reflection access warnings
- 34:29Removed components impact
- 35:52Jakarta XML Binding issues
- 38:39Multi-release JARs
- 40:04Unit tests failures
- 43:34Java 8 specific tests
- 46:03Static analysis problems
- 49:16Integration testing setup
- 51:45Docker images updates
- 53:31Distribution packaging
- 56:17Final results
