writeStoredEntry
Copy one class file into jos as a STORED entry. Duplicate paths (a union/overlay FS can surface the same class twice) are dropped — putNextEntry would throw — and an unreadable file is skipped rather than failing the whole repack. The read alone: a failed write leaves the stream unusable and sinks the jar either way, and out here it does so at once under its own cause — skipped, close() would report it as a mismatched CRC. probing, so running out of memory is not taken for an unreadable file.