HexFormat fields could be trusted

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 24
    • Component/s: core-libs

      In the JDK, there are several places where a `static final HexFormat` object is used. For example, in the factor method `HexFormat::of`.

      It would be possible to make the fields of `HexFormat` eligible for constant folding if they could be trusted thereby improving performance.

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

              Created:
              Updated:
              Resolved: