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

Refactor StringConcatHelper simpleConcat

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • core-libs
    • None

      The string concatenation of the java.base module is implemented using StringBuilder. By providing a series of concat methods in StringConcatHelper, it is used in the java.lang package to replace string concatenation.

      These concat methods can also be exposed through JLA for use by other packages, such as java.lang.constant.

      These concat methods can replace Concat1 and become part of StringConcatFactory#simpleConcat

            swen Shaojin Wen
            swen Shaojin Wen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: