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

exception during StringConcatFactory clinit breaks string concat with no fallback

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12, 13
    • Fix Version/s: 15
    • Component/s: core-libs
    • Labels:
      None

      Description

      If we are unlucky enough to throw an OutOfMemoryError in certain StringConcatFactory static initializers, then string concat is permanently broken, even if the OOM condition was temporary. There is no fallback to StringBuilder, for example.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                redestad Claes Redestad
                Reporter:
                dlong Dean Long
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: