On Wed, 3 Mar 2021 18:10:25 GMT, Brent Christian <bchri...@openjdk.org> wrote:
>> This seems to be a long standing bug, maybe goes all the way back to JDK >> 1.2. Are you planning to add a regression test? > > Hi, Craig > The commented-out lines should be removed from the change. > > As Alan said, a regression test will be needed. At minimum, it should test a > method that returns a URL, as well as a method that returns an > Enumeration<URL> (which can also lead to an IAE, as I noted in the bug > report). > > Also, though the compatibility risk is low, it would be good to include a CSR > for this change to long-standing behavior. Also, the copyright year should be updated: 2019 -> 2021 ------------- PR: https://git.openjdk.java.net/jdk/pull/2662