Re: RFR: JDK-8262277: java.net.URLClassLoader.getResource throws undocumented IllegalArgumentException [v2]

2021-03-04 Thread Brent Christian
On 3/4/21 1:16 PM, Craig Andrews wrote: @bchristi-git has indicated that a [compatibility and specification](https://wiki.openjdk.java.net/display/csr/Main) (CSR) request is needed for this pull request. @candrews please create a CSR request and add link to it in

Re: RFR: JDK-8262277: java.net.URLClassLoader.getResource throws undocumented IllegalArgumentException [v2]

2021-03-04 Thread Craig Andrews
> `java.net.URLClassLoader.getResource` can throw an undocumented > `IllegalArgumentException`. > > According to the javadoc for the `getResource` and `findResource` methods, > neither should be throwing `IllegalArgumentException` - they should return > null if the resource can't be resolved.

Re: RFR: JDK-8262277: java.net.URLClassLoader.getResource throws undocumented IllegalArgumentException [v2]

2021-03-04 Thread Craig Andrews
On Wed, 3 Mar 2021 18:10:25 GMT, Brent Christian wrote: >The commented-out lines should be removed from the change. Done!  > 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 > (which