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

[Fmt-Me] MessageFormat recursion problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 1.2.2
    • core-libs
    • generic
    • generic



      Name: rlT66838 Date: 09/10/99


      In your code of the method format(Object[] arguments, SringBuffer result, FieldPosition status, int recursionProtection) of the class MessageFormat you missed to pass to the temporary created instance temp (of MessageFormat) the list of formats stored in this.formats. This prevents the use of more then one recursive pattern definitions.

      See the correction of that bug, that is inserted in the original code fragment.
      (Review ID: 95110)
      ======================================================================

            jlu Justin Lu
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: