On Mon, 23 Jun 2025 14:34:20 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> Yes, but is that good though? This is a public API and surely as a random 
>> user I shouldn't be able to trigger an `Error` just by having bad input data?
>> Since we can reasonably reason that, to a first approximation, "this code 
>> path isn't being hit by anyone" it felt reasonable to reflect "bad input 
>> data" with a MalformedURLException.
>> Shall I change it back?
>
> MalformedURLException is fine.

Yes, I agree.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25871#discussion_r2164238754

Reply via email to