fix(java): set per-file digest for nested JARs (#10855)