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

Boole need a Boolean.parseBoolean(string)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.2
    • core-libs
    • generic
    • generic



      Name: rlT66838 Date: 07/13/99


      The definition of java.lang.Boolean.getBoolean as obtaining the boolean value of a *system property* is not at all intuitive. When I am looking for a method that returns information about system properties, I check java.lang.System, not java.lang.Boolean.
      When glancing at the API for java.lang.Boolean, a method defined as "getBoolean(string)" appears to take a string argument that will be converted to a boolean.

      The java.lang.Boolean.getBoolean method is more logically a method of java.lang.System.
      (Review ID: 85543)
      ======================================================================

            wmaddoxsunw William Maddox (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: