Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8344081

Option to make reproducible builds work between different bugfix version

XMLWordPrintable

    • 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.




            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: