Annotate System.lineSeparator @Stable

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P5
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      The private static variable `lineSeparator` is only updated once and cannot be modified from the outside. Hence, it can be annotated with `@Stable` to enable constant folding optimizations.

            Assignee:
            Unassigned
            Reporter:
            Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: