NormalizerImpl.canonStartSets is 64k of unused space

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs
    • b72
    • generic
    • generic

      The variable sun.text.normalizer.NormalizerImpl.canonStartSets
      was discovered to be 16k Objects, almost all of which are null.
      I can't find any use of this array in the JDK, except to fill in the
      first four elements. Perhaps it could be eliminated,
      or perhaps

          static final int CANON_SET_MAX_CANON_SETS = 0x4000;
      should be
          static final int CANON_SET_MAX_CANON_SETS = 0x4;

            Assignee:
            Yuka Kamiya (Inactive)
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: