On Mon, 30 Oct 2023 16:16:52 GMT, Ryan Wallace <d...@openjdk.org> wrote:

> Hi all,
> 
> Please review this fix for jar tool not producing archive if there is a 
> missing file supplied. Fix is to throw an exception and exit processing when 
> a missing file is supplied. Current behaviour will recognise missing file as 
> an error but continue processing and not produce the archive. Updated 
> ClassPath test to verify jar is not created.
> 
> Thanks,
> Ryan.

This one probably needs discussion to decide if the JDK 8 or current behavior 
is the right behavior. Once agreed then we will need to add tests to ensure 
that the behavior doesn't change, and maybe an update to docs too. Have you dug 
into the history to see if this behavior change was deliberate or just not 
noticed before now?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16423#issuecomment-1794474588

Reply via email to