dtype-next icon indicating copy to clipboard operation
dtype-next copied to clipboard

Indicate required module cmd line if ops fail when running under JDK-17+

Open cnuernber opened this issue 3 years ago • 2 comments

Operations that require creating a nio buffer of FFI support under JDK-17 will fail unless particular flags are provided which then add classes to the classpath. We can indicate the required command line arguments in the exception thrown when these classes aren't present.

cnuernber avatar Dec 07 '21 18:12 cnuernber

I am wondering if we have only 2 cases ? < JDK 17

= JDK-17

or more ?

behrica avatar Aug 31 '22 17:08 behrica

Close - Before 16, =17. 16 is when they removed the unsafe method to construct a direct byte buffer from an integer.

cnuernber avatar Aug 31 '22 19:08 cnuernber

This really isn't an issue as JDK-19 mainly works without these flags as the foreign module is not experimental any more.

cnuernber avatar Jun 04 '23 16:06 cnuernber