Deprecate Boolean constructor

XMLWordPrintable

    • generic, x86
    • generic, windows_xp

      Name: tb29552 Date: 10/22/2003


      A DESCRIPTION OF THE REQUEST :
      We should encourage people to move from "new Boolean()" to Boolean.TRUE, Boolean.FALSE by deprecating the constructor and documented the aforementioned alternative methods.

      JUSTIFICATION :
      Using Boolean.TRUE, Boolean.FALSE leads to improved performance, reduced memory footprint. Many developers are unaware of this recent addition and continue to use the constructor. A deprecation should formalize this migration route.
      (Review ID: 216908)
      ======================================================================

            Assignee:
            Stuart Marks
            Reporter:
            Tim Bell
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: