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

RI's java.util.UnknownFormatConversionException has different behavior with Java spec

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • None
    • Novice

    Description

      Spec for UnknownFormatConversionException says:

      "Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown."

      But RI's implementation of UnknownFormatConversionException constructor accept null String silently.

      Harmony's implementation comply with spec.

      Attachments

        1. patch.txt
          1 kB
          Anton Luht

        Activity

          People

            nbeyer Nathan Beyer
            paulex Paulex Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: