Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8219202

Use Unsynchronized StringBuilder in sun.net.www.ParseUtil

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      A DESCRIPTION OF THE PROBLEM :
      Use un-synchronized StringBuilder instead of StringBuffer in: sun.net.www.ParseUtil


      StringBuffer sb = new StringBuffer();
              if (scheme != null) {
                  sb.append(scheme);
                  sb.append(':');
              }
              appendSchemeSpecificPart(sb, opaquePart,
                                       authority, userInfo, host, port,
                                       path, query);
              appendFragment(sb, fragment);
              return sb.toString();


        Attachments

          Activity

            People

            Assignee:
            cushon Liam Miller-Cushon
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: