wrapper objects created in wrapper classes are not cached

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 7
    • Affects Version/s: 5.0, 6
    • Component/s: core-libs
    • generic
    • generic, solaris_8

      Almost all occurrences of

      new Integer(

      appearing in java/lang/Integer.java should be replaced by

      valueOf(

      Similar changes should be made in all other wrapper classes.

            Assignee:
            Joe Darcy
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: