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

MessageFormat does not check its invariants in readObject

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.3.0
    • 1.1
    • core-libs
    • None
    • beta
    • generic
    • solaris_2.5

          Serializes an int, two arrays of ints, a Locale, an array of Formats and a
          String. Uses default readObject. The array of Formats can be mutated via
          a set method however this method takes care to clone the Formats it is
          given while readObject does not. The two arrays of ints are private and
          can not be mutated directly via the API. The two arrays of ints and the
          int field must also remain in sync. Reading a corrupted stream would
          reduce this class to rubble.

            duke J. Duke
            bcbeck Brian Beck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: