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

Too many instances of java.lang.Boolean created in Java application

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      As stated in javadoc for java.lang.Boolean(boolean) it is rarely appropriate to instantiate new Boolean objects but there are many places in J2SE where it is actually happening. These include java.lang.ClassLoader, java.lang.Thread, code generated for access to Java methods through reflection, Xalan & Xerces libraries. Maybe less important are many places in corba subsystem, java management API implementation, sql packages.
      ###@###.### 2004-09-29

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: