Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-5323

[classlib][text][Tomcat] MessageFormat.format can not format messages with more then 10 variables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0M4
    • None
    • None

    Description

      MessageFromat.format can not format messages with more then 10 variables. It throws the following exception:

      === cut ===
      java.lang.IllegalArgumentException: Missing element format
      at java.text.MessageFormat.parseVariable(MessageFormat.java:666)
      at java.text.MessageFormat.applyPattern(MessageFormat.java:115)
      at java.text.MessageFormat.<init>(MessageFormat.java:82)
      at java.text.MessageFormat.format(MessageFormat.java:431)
      at MessageFormatTest.main(MessageFormatTest.java:13)
      === cut ===

      This issue is discovered in Tomcat-Harmony bundle and prevent Tomcat Manager application from execution.

      Attachments

        Activity

          People

            cap Alexey Petrenko
            cap Alexey Petrenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: