ASF Bugzilla – Attachment 19460 Details for
Bug 41466
NIO Connector: IllegalArgumentException: You can only write using the application write buffer provided by the handler
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch fixing the issue, but not meant to be a definitive patch
secureniochannel.patch (text/plain), 824 bytes, created by
Christophe Pierret
on 2007-01-25 09:17:34 UTC
(
hide
)
Description:
A patch fixing the issue, but not meant to be a definitive patch
Filename:
MIME Type:
Creator:
Christophe Pierret
Created:
2007-01-25 09:17:34 UTC
Size:
824 bytes
patch
obsolete
>Index: SecureNioChannel.java >=================================================================== >--- SecureNioChannel.java (revision 498961) >+++ SecureNioChannel.java (working copy) >@@ -369,7 +369,7 @@ > */ > public int write(ByteBuffer src) throws IOException { > //make sure we can handle expand, and that we only use on buffer >- if ( src != bufHandler.getWriteBuffer() ) throw new IllegalArgumentException("You can only write using the application write buffer provided by the handler."); >+ //if ( src != bufHandler.getWriteBuffer() ) throw new IllegalArgumentException("You can only write using the application write buffer provided by the handler."); > //are we closing or closed? > if ( closing || closed) throw new IOException("Channel is in closing state."); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41466
: 19460