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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Delivered
    • Icon: P5 P5
    • None
    • 5.0
    • core-libs
    • None

      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

        There are no Sub-Tasks for this issue.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: