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

Modifier.toString puts strictfp in wrong position when dealing with interfaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • core-libs
    • beta3
    • generic
    • generic
    • Verified



      Name: boT120536 Date: 12/04/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      In Modifier.toString(int mod) the check for STRICT comes after the check for
      INTERFACE when it should come before. Otherwise you get output like:

      public interface strictfp Foo

      when using this method in source code generators; and this syntax is illegal.
      (Review ID: 113212)
      ======================================================================

            darcy Joe Darcy
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: