From: Jeff A. <ja...@fa...> - 2016-05-15 09:57:55
|
Stefan: https://github.com/jythontools/jython/pull/39 What difference does it make in your use case whether a NIO ByteBuffer is direct or non-direct? I can see why a client might want to know which it had been given, but not why it might want an exception raised in one or other case. Nothing I'm doing seems to depend on what kind of memory the exporting object has, therefore on the implementation type of ByteBuffer storage. It may depend on storage.hasArray(), but storage.isDirect() seems to make no difference. Jeff -- Jeff Allen |