-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
Currently: javac compiles module-info.java to module-info.class storing exact versions of the modules it is compiled against.
https://bugs.openjdk.org/browse/JDK-8160202
This means that compiling a module-info.java using jdk 21.0.3 will allways yield different results than compiling using jdk 21.0.4 -> the recorded build versions of java.base are different.
It feels like there should be an option to ommit writing the exact version of the jdk the module was compiled against, thus potentially making the build reproducible across different jdk version.
Currently: javac compiles module-info.java to module-info.class storing exact versions of the modules it is compiled against.
https://bugs.openjdk.org/browse/JDK-8160202
This means that compiling a module-info.java using jdk 21.0.3 will allways yield different results than compiling using jdk 21.0.4 -> the recorded build versions of java.base are different.
It feels like there should be an option to ommit writing the exact version of the jdk the module was compiled against, thus potentially making the build reproducible across different jdk version.
- relates to
-
JDK-8160202 javac should record exact versions that a module is compiled against
-
- Resolved
-