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

wrapper objects created in wrapper classes are not cached

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7
    • 5.0, 6
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: