RFE/RFC reproducible policies
erik.joelsson at oracle.com
Thu May 19 17:07:12 UTC 2016
If I understand the question correctly, you are wondering how the policy
files from CreateSecurityJars.gmk end up in the final image? This is
done in two steps. First the new JDK 9 tool jmod packages each module
into a distribution format (typically java.base.jmod). Then the next new
tool jlink links all the jmods together to create an image. Somewhere
inside those tools, I assume timestamps are changing.
On 2016-05-19 18:52, Jiri Vanek wrote:
> Hello again!
> Recent Feature Complete milestone have scared me, as I have long-time
> persisting issue when packaging openjdk (6..7...8 and 9)
> The policy jars, always from same source, never the same. As they are
> considered as configure files, the RPM update treat them alike.
> Not so do jdk build system, and every build have its "special" but
> still the same. .policies.
> This is fixed in my RPMS since  like 
> Well, not nice. I checked icedtea, and they since  already have
> this change 
> So I looked into JDK9 and.. it ahave teh change in
> CreateSecurityJars.gmk ! Not whole, but definitely not used. I really
> do not understand why.
> So there is patch for jdk9's -
> which is making the policies truly static even with all this necessary
> However, I must apologise for missing part, which I had not found how
> to solve.
> Up to "make" (build) everything is ok. but "make images" corrupts the
> timestamps, I did not found, where the built files flow to images:(to
> stamp them again, and last time)
> Best regards from CZ
More information about the build-dev