RFR: 8219202: Use Unsynchronized StringBuilder in sun.net.www.ParseUtil
Chris Hegarty
chris.hegarty at oracle.com
Wed May 1 16:45:02 UTC 2019
Alan,
> On 30 Apr 2019, at 18:53, Alan Malloy <amalloy at google.com> wrote:
>
> Hello. Please review this patch to use StringBuilder instead of
> StringBuffer in sun.net.www.ParseUtil, a usage that does not need
> synchronization.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8219202
> webrev: http://cr.openjdk.java.net/~cushon/8219202/webrev.01/ <http://cr.openjdk.java.net/~cushon/8219202/webrev.01/>
Looks ok.
> Testing: All of jtreg:test/jdk/sun/net/www pass locally. No new test added,
> as no behavior change is intended.
Can you please add an appropriate noreg-XXX label [1] to the JIRA
issue if an existing test is not being modified or a new one added.
-Chris.
[1] https://openjdk.java.net/guide/changePlanning.html#noreg
More information about the core-libs-dev
mailing list