[diffoscope] javap exits with 1 on .classdata

Chris Lamb chris at reproducible-builds.org
Fri Aug 1 18:55:47 UTC 2025


Aman Sharma wrote

> If we simply rename their extensions to `.class` and then compare, 
> there is a valid diff by javap.

Ooh, good spot. Yes, javap seems to need the files to be called .class or it will just reject them. Okay, I've committed a patch that will rename non-.class files to .class and will release that in a few minutes.

Of course, this still may not result in diffoscope giving you a human-readable diff, but it will mean that it javap won't complain.


Best wishes,

-- 
      o
    ⬋   ⬊      Chris Lamb
   o     o     reproducible-builds.org 💠
    ⬊   ⬋
      o


More information about the diffoscope mailing list