Skip to content

Releases: raboof/sbt-reproducible-builds

Hook into packageBin correctly again

05 Aug 19:26
5ddd207
Compare
Choose a tag to compare
Merge pull request #10 from raboof/sbtTest

Fix hooking in packageBin, add sbt-test (fixes #9)

JDK9 support

10 May 09:09
c6d5f66
Compare
Choose a tag to compare

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.