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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 1.4.1
    • other-libs

      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

            duke J. Duke
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: