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

javasoft.sqe.tests.api.javax.activation.MimeType.readExternal_Test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: other-libs
    • Labels:

      Description

      JAF test javasoft.sqe.tests.api.javax.activation.MimeType.readExternal_Test

      The test checks a MimeType is Externalizable by writing it to an ObjectOutputStream and then reading it in. However, it does not flush the ObjectOutputStream but instead flushes the FileOutputStream that it wraps. This means state buffered by the ObjectOutputStream is not flushed.

      ObjectOutputStream and is not written to the file causing the test to fail.

      I could not see where the specification requires the stream to be flushed during writeExternal
      ###@###.### 2005-03-24 17:48:50 GMT

        Attachments

          Activity

            People

            Assignee:
            duke J. Duke (Inactive)
            Reporter:
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: