On Thu, 16 Apr 2026 15:37:29 GMT, Alan Bateman <[email protected]> wrote:

>> Sean Mullan has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Make test be able to run with jmod-less image.
>
> src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/CACertsPlugin.java
>  line 109:
> 
>> 107:             return baos.toByteArray();
>> 108:         } catch (Exception ex) {
>> 109:             throw new PluginException(ex);
> 
> PluginException is thrown if the alias is not found so I think you'll end up 
> with PluginException and a PluginException as the cause. You can catch the 
> PluginException and rethrow it to avoid this.

Good catch, fixed in 
https://github.com/openjdk/jdk/pull/29700/changes/b961787fde042f7744d20bf81dcaa675bf4222b7

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29700#discussion_r3096810636

Reply via email to