RFR: 8260043: Reduce allocation in sun.net.www.protocol.jar.Handler.parseURL [v2]

eirbjo github.com+300291+eirbjo at openjdk.java.net
Wed Jan 20 15:46:15 UTC 2021


On Wed, 20 Jan 2021 15:32:13 GMT, Claes Redestad <redestad at openjdk.org> wrote:

>> eirbjo has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   As a part of the rename from "canonize" to "canonicalize", doCanonize should also be renamed. This was an oversight in the original PR.
>
> src/java.base/share/classes/sun/net/www/protocol/jar/Handler.java line 232:
> 
>> 230:     }
>> 231: 
>> 232:     private static String doCanonize(String file) {
> 
> nit: doCanonicalize

Good catch! Not enough coffee :-)

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

PR: https://git.openjdk.java.net/jdk/pull/2167


More information about the net-dev mailing list