-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
11.0.20, 11.0.21
-
x86_64
-
linux, windows
Compiling the same java source code using Java 11 with release="7" generates different byte code for Windows and Linux. This breaks the cross-platform repeatable builds for Apache Tomcat.
A sample project that demonstrates the problem is available at https://github.com/markt-asf/byte-code-differences
The sample project is derived from the Apache Tomcat source code where the issue was first observed.
The problem is not observed with Java 17 and release="7".
The problem is not observed with Java 11 and release="8".
The Tomcat project may be able to work-around this issue by building releases with Java 17.
A sample project that demonstrates the problem is available at https://github.com/markt-asf/byte-code-differences
The sample project is derived from the Apache Tomcat source code where the issue was first observed.
The problem is not observed with Java 17 and release="7".
The problem is not observed with Java 11 and release="8".
The Tomcat project may be able to work-around this issue by building releases with Java 17.