On Wed, 16 Mar 2022 22:00:15 GMT, Liam Miller-Cushon <cus...@openjdk.org> wrote:

> This change improves an exception message to include a path, e.g. `Invalid 
> Jar file: some.jar` instead of just `Invalid Jar file`.
> 
> The exception is currently [always being caught and 
> ignored](https://github.com/openjdk/jdk/blob/3e393047e12147a81e2899784b943923fc34da8e/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java#L459-L461)
>  so this visible to users of the API, it's just helpful for debugging.

As with PR7861, I think this will require security input (it might be that 
jdk.includeInExceptions=jar will be required here, needs analysis).

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

PR: https://git.openjdk.java.net/jdk/pull/7848

Reply via email to