bindul commented on pull request #220: URL: https://github.com/apache/httpcomponents-core/pull/220#issuecomment-682140761
I wonder if the `arrayOffset` calls should be conditional based on `hasArray`. Based on the Javadoc [1] This is an optional operation and hence can throw `UnsupportedOperationException`. [1] https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html#arrayOffset-- ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
