-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
1.4.1
-
generic
-
generic
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
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