Skip to content

Support Java 17 #75

Closed
Closed
@gortiz

Description

@gortiz

Apache Pinot uses this library to map large files in memory and the fact that LArray doesn't support Java 17 implies that Apache Pinot cannot run in modern JVMs.

We have been thinking on moving to more modern implementations of 64 bit buffers (like Chronicle Bytes) or to wait until Project Panama is fully supported, but both alternatives are not ideal.

As far as I know, the reason why this library cannot be used in Java 17 is because the DirectByteBuffer constructor has been changed (in order to add a new parameter related with Project Panama). Recently I've found that @xerial already updated a similar code in another library (link).

Would it be possible to apply the same trick here and release a new version of LArray?

See apache/pinot#9162

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions