airlift / aircompressor

A port of Snappy, LZO, LZ4, and Zstandard to Java
Apache License 2.0
562 stars 111 forks source link

Remove support for direct byte buffers #126

Closed martint closed 3 years ago

martint commented 3 years ago

Java 16 removed access to internal fields in the java.nio.Buffer class to be able to operate on direct byte buffers. Since there's currently no good alternative, we're removing support for direct buffers.

We'll revisit this later, possibly when the Foreign-Memory Access API becomes final.

Fixes https://github.com/airlift/aircompressor/issues/125

martint commented 3 years ago

Superseded by https://github.com/airlift/aircompressor/pull/128