sbt-reproducible-builds

Make your published artifacts bit-by-bit reproducible, and compare with other certifications

APACHE-2.0 License

Stars
36
Committers
5

Bot releases are hidden (Show)

sbt-reproducible-builds - Hook into packageBin correctly again

Published by raboof about 6 years ago

sbt-reproducible-builds - JDK9 support

Published by raboof over 6 years ago

In 0.3, the jar stripping process would produce dates that JDK9 would crash on:

[error] An exception has occurred in the compiler (9). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
[error] java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
[error] 	at java.base/java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)
[error] 	at java.base/java.time.temporal.ChronoField.checkValidValue(ChronoField.java:714)
[error] 	at java.base/java.time.LocalDate.of(LocalDate.java:269)
[error] 	at java.base/java.time.LocalDateTime.of(LocalDateTime.java:336)
[error] 	at jdk.zipfs/jdk.nio.zipfs.ZipUtils.dosToJavaTime(ZipUtils.java:109)
[error] 	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.cen(ZipFileSystem.java:1950)
[error] 	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.readCEN(ZipFileSystem.java:1937)
[error] 	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getEntry(ZipFileSystem.java:1324)
[error] 	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.newInputStream(ZipFileSystem.java:550)
[error] 	at jdk.zipfs/jdk.nio.zipfs.JarFileSystem.isMultiReleaseJar(JarFileSystem.java:91)
[error] 	at jdk.zipfs/jdk.nio.zipfs.JarFileSystem.<init>(JarFileSystem.java:67)
[error] 	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:134)
[error] 	at jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.<init>(JavacFileManager.java:517)

This was already fixed upstream, this release brings in this fix into sbt-reproducible-builds.