On 15/03/2022 13:23, Pasam Soujanya1 wrote:
Yes, jar command fails(exit code is 1) from JDK11 onward when target files do not exist while archiving the data.

Can you check JDK 8u? I would expect the exit code to be non-0 with that release too, it's just that it leaves behind the file. That's the bug that was fixed in JDK 9 via JDK-8174996.

-Alan

Reply via email to