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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.2.0
    • 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: