Hi Kanatoko,
Would you please help on a short description why the updates is
necessary? And what's the use case that the OutputStream 's' would be null?
Thanks & Regards,
Andrew
Kanatoko wrote:
Here is a patch.
This issue is really important to me. Please merge this.
*** src/share/classes/sun/security/ssl/OutputRecord_orig.java 2008-07-09
01:54:02.000000000 +0900
--- src/share/classes/sun/security/ssl/OutputRecord.java 2008-07-09
01:53:50.000000000 +0900
***************
*** 311,316 ****
--- 311,317 ----
*/
void writeBuffer(OutputStream s, byte [] buf, int off, int len)
throws IOException {
+ if(s == null) return;
s.write(buf, off, len);
s.flush();