db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oystein Grovlen - Sun Norway <Oystein.Grov...@Sun.COM>
Subject Re: [jira] Commented: (DERBY-2604) Implement Clob support for locators
Date Wed, 09 May 2007 12:20:32 GMT
Knut Anders Hatlen (JIRA) wrote:

 >> But the behaviour that needs to be exhibited for
 >> InputStream/OutputStream
 >> methods after close was not mentioned.
  > I found this the javadoc for OutputStream.write(int):
  > IOException - if an I/O error occurs. In particular, an IOException
  > may be thrown if the output stream has been closed.

I do not think that this means that it is required behavior.  At
least, the javadoc for java.io.ByteArrayOutputStream indicates that
not all OutputStreams behave that way:

      Closing a ByteArrayOutputStream has no effect. The methods in this
      class can be called after the stream has been closed without
      generating an IOException.


View raw message