java.lang.reflect.Modifer.toString() returns "strict" not "strictfp"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.3.0
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • kestrel
    • generic
    • generic



      Name: clC74495 Date: 04/07/99


      Line 155 of Modifier.java reads:

       if ((mod & STRICT) != 0) sb.append("strict ");

      ... which is incorrect. The modifier that sets this bit is actually 'strictfp',
      not 'strict'. All other modifiers described by the toString() method are
      suitable for generating source code.
      (Review ID: 56637)
      ======================================================================

            Assignee:
            Anand Palaniswamy (Inactive)
            Reporter:
            Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: