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

Error in Spec and an example about currencyTimeLimit of ModelMBean

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.2
    • CPU:
      unknown
    • OS:
      generic
    • Verification:
      Verified

      Description

      JMX 1.2 r05

      The description of the field currencyTimeLimit done in the Spec contradicts what is said in the javadoc.
      Spec :
      //
      If currencyTimeLimit is -1 then the value is never stale.
      //

      Javadoc :
      //
      currencyTimeLimit : how long value is valid, <0 never, =0 always, >0 seconds
      //

      And to add a little pleasure, the ModelMBean example is trusting the Spec rather than the javadoc then it is faulty.

        Attachments

          Activity

            People

            Assignee:
            busersunw Btplusnull User (Inactive)
            Reporter:
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: