Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diffoscope differences between 2 spring boot fat jars created 1 minute apart
$ diffoscope *.jar
--- spring-boot-plugin-0.0.1-SNAPSHOT.jar
+++ spring-boot-plugin-0.0.1-SNAPSHOTa.jar
├── zipinfo /dev/stdin
│ @@ -1,16 +1,16 @@
│ Zip file size: 14873768 bytes, number of entries: 102
│ --rw---- 2.0 fat 0 bX defN 17-Dec-29 22:12 META-INF/
│ --rw---- 2.0 fat 224 bl defN 17-Dec-29 22:12 META-INF/MANIFEST.MF
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 BOOT-INF/
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 BOOT-INF/classes/
│ +-rw---- 2.0 fat 0 bX defN 17-Dec-29 22:13 META-INF/
│ +-rw---- 2.0 fat 224 bl defN 17-Dec-29 22:13 META-INF/MANIFEST.MF
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 BOOT-INF/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 BOOT-INF/classes/
│ -rw---- 2.0 fat 0 bx defN 80-Feb-01 00:00 BOOT-INF/classes/com/
│ -rw---- 2.0 fat 0 bx defN 80-Feb-01 00:00 BOOT-INF/classes/com/example/
│ -rw---- 2.0 fat 388 bx defN 80-Feb-01 00:00 BOOT-INF/classes/com/example/Example.class
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 BOOT-INF/lib/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 BOOT-INF/lib/
│ -rw---- 1.0 fat 2300 b- stor 17-Jan-30 19:45 BOOT-INF/lib/spring-boot-starter-actuator-1.5.1.RELEASE.jar
│ -rw---- 1.0 fat 2347 b- stor 17-Jan-30 19:45 BOOT-INF/lib/spring-boot-starter-web-1.5.1.RELEASE.jar
│ -rw---- 1.0 fat 2290 b- stor 17-Jan-30 19:45 BOOT-INF/lib/spring-boot-starter-1.5.1.RELEASE.jar
│ -rw---- 1.0 fat 546649 b- stor 17-Jan-30 19:44 BOOT-INF/lib/spring-boot-actuator-1.5.1.RELEASE.jar
│ -rw---- 1.0 fat 2293 b- stor 17-Jan-30 19:45 BOOT-INF/lib/spring-boot-starter-tomcat-1.5.1.RELEASE.jar
│ -rw---- 1.0 fat 725129 b- stor 16-Dec-08 10:48 BOOT-INF/lib/hibernate-validator-5.3.4.Final.jar
│ -rw---- 1.0 fat 1236708 b- stor 17-Jan-12 04:39 BOOT-INF/lib/jackson-databind-2.8.6.jar
│ @@ -35,24 +35,24 @@
│ -rw---- 1.0 fat 281203 b- stor 17-Jan-11 20:35 BOOT-INF/lib/jackson-core-2.8.6.jar
│ -rw---- 1.0 fat 305150 b- stor 17-Jan-20 19:58 BOOT-INF/lib/logback-classic-1.1.9.jar
│ -rw---- 1.0 fat 16521 b- stor 16-Dec-13 18:09 BOOT-INF/lib/jcl-over-slf4j-1.7.22.jar
│ -rw---- 1.0 fat 4596 b- stor 16-Dec-13 18:09 BOOT-INF/lib/jul-to-slf4j-1.7.22.jar
│ -rw---- 1.0 fat 23647 b- stor 16-Dec-13 18:09 BOOT-INF/lib/log4j-over-slf4j-1.7.22.jar
│ -rw---- 1.0 fat 472639 b- stor 17-Jan-20 19:57 BOOT-INF/lib/logback-core-1.1.9.jar
│ -rw---- 1.0 fat 41077 b- stor 16-Dec-13 18:07 BOOT-INF/lib/slf4j-api-1.7.22.jar
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 org/
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 org/springframework/
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 org/springframework/boot/
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 org/springframework/boot/loader/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 org/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 org/springframework/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 org/springframework/boot/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 org/springframework/boot/loader/
│ -rw---- 2.0 fat 2415 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/LaunchedURLClassLoader$1.class
│ -rw---- 2.0 fat 1454 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/PropertiesLauncher$ArchiveEntryFilter.class
│ -rw---- 2.0 fat 1807 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/PropertiesLauncher$PrefixMatchingArchiveFilter.class
│ -rw---- 2.0 fat 4599 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/Launcher.class
│ -rw---- 2.0 fat 1165 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/ExecutableArchiveLauncher$1.class
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 org/springframework/boot/loader/jar/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 org/springframework/boot/loader/jar/
│ -rw---- 2.0 fat 2002 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/JarFile$1.class
│ -rw---- 2.0 fat 9657 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/Handler.class
│ -rw---- 2.0 fat 3350 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/JarEntry.class
│ -rw---- 2.0 fat 1427 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/JarFile$3.class
│ -rw---- 2.0 fat 2943 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/CentralDirectoryEndRecord.class
│ -rw---- 2.0 fat 430 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/CentralDirectoryVisitor.class
│ -rw---- 2.0 fat 1300 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/JarFile$JarFileType.class
│ @@ -68,37 +68,37 @@
│ -rw---- 2.0 fat 1629 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/ZipInflaterInputStream.class
│ -rw---- 2.0 fat 1967 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/JarFileEntries$EntryIterator.class
│ -rw---- 2.0 fat 306 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/FileHeader.class
│ -rw---- 2.0 fat 3641 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/JarURLConnection$JarEntryName.class
│ -rw---- 2.0 fat 9111 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/JarURLConnection.class
│ -rw---- 2.0 fat 5449 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/jar/CentralDirectoryFileHeader.class
│ -rw---- 2.0 fat 1704 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/PropertiesLauncher$FilteredArchive$1.class
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 org/springframework/boot/loader/data/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 org/springframework/boot/loader/data/
│ -rw---- 2.0 fat 1531 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/data/ByteArrayRandomAccessData.class
│ -rw---- 2.0 fat 3534 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/data/RandomAccessDataFile$DataInputStream.class
│ -rw---- 2.0 fat 2051 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/data/RandomAccessDataFile$FilePool.class
│ -rw---- 2.0 fat 1341 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/data/RandomAccessData$ResourceAccess.class
│ -rw---- 2.0 fat 3390 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/data/RandomAccessDataFile.class
│ -rw---- 2.0 fat 551 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/data/RandomAccessData.class
│ -rw---- 2.0 fat 4698 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/LaunchedURLClassLoader.class
│ -rw---- 2.0 fat 1533 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/JarLauncher.class
│ -rw---- 2.0 fat 1468 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/MainMethodRunner.class
│ -rw---- 2.0 fat 2382 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/PropertiesLauncher$FilteredArchive.class
│ -rw---- 2.0 fat 1382 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/PropertiesLauncher$1.class
│ -rw---- 2.0 fat 3128 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/ExecutableArchiveLauncher.class
│ -rw---- 2.0 fat 1669 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/WarLauncher.class
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 org/springframework/boot/loader/archive/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 org/springframework/boot/loader/archive/
│ -rw---- 2.0 fat 1749 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/JarFileArchive$EntryIterator.class
│ -rw---- 2.0 fat 3792 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/ExplodedArchive$FileEntryIterator.class
│ -rw---- 2.0 fat 1068 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/ExplodedArchive$FileEntry.class
│ -rw---- 2.0 fat 1051 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/JarFileArchive$JarFileEntry.class
│ -rw---- 2.0 fat 302 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/Archive$Entry.class
│ -rw---- 2.0 fat 7016 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/JarFileArchive.class
│ -rw---- 2.0 fat 4974 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/ExplodedArchive.class
│ -rw---- 2.0 fat 906 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/Archive.class
│ -rw---- 2.0 fat 1438 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/ExplodedArchive$FileEntryIterator$EntryComparator.class
│ -rw---- 2.0 fat 399 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/Archive$EntryFilter.class
│ -rw---- 2.0 fat 273 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/archive/ExplodedArchive$1.class
│ -rw---- 2.0 fat 16109 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/PropertiesLauncher.class
│ --rw---- 2.0 fat 0 bl defN 17-Dec-29 22:12 org/springframework/boot/loader/util/
│ +-rw---- 2.0 fat 0 bl defN 17-Dec-29 22:13 org/springframework/boot/loader/util/
│ -rw---- 2.0 fat 4887 bl defN 17-Jan-30 19:26 org/springframework/boot/loader/util/SystemPropertyUtils.class
│ 102 files, 14948291 bytes uncompressed, 14854566 bytes compressed: 0.6%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment