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

Annotation float value seems double

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.2, 5.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_98, windows_2000

      Description



      Name: rmT116609 Date: 03/16/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows Millennium [Version 4.90.3000]

      A DESCRIPTION OF THE PROBLEM :
      My Annotation flort value seems double in Javadoc.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      javadoc -source 1.5 X.java


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Annotation Type X

      @F(value=1.23456789f)
      public @interface X
      ACTUAL -
      Annotation Type X

      @F(value=1.2345678806304932f)
      public @interface X

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import java.lang.annotation.*;

      @F(1.23456789f)
      public @interface X {
      float value();
      }

      @Documented
      @interface F {
      float value();
      }

      ---------- END SOURCE ----------
      (Incident Review ID: 243762)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                darcy Joe Darcy
                Reporter:
                rmandalasunw Ranjith Mandala (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: