On 16/07/2020 13:19, Baesken, Matthias wrote:
Hi Alan, I do not have such a test case .
Is there one for the change 8230613 ?
The only call to Punycode.encode in IDN.java is below and the coding intends
to catch java.text.ParseException from Punycode.encode
and then throws an IllegalArgumentException . I see nothing regarding
RuntimeException in IDN .
Tests for changes in security updates are not included in the jdk repo.
IDN.toASCII only specifies IAE so it would be useful to find input that
tickles other (non-resource) exceptions. Aleksei tells me that he
couldn't find input that would cause this so this is why it was not
changed at the time.
-Alan