I just checked that the example does not throw NoSuchMethodException on
JDK11.
As suggested, commons-configuration needs the explicit cast to call
ByteBuffer.flip(). The release option during the build (
https://openjdk.org/jeps/247) may help to resolve this issue, if this
option is not enabled.

2023년 6월 30일 (금) 오전 7:08, Tres Finocchiaro <tres.finocchi...@gmail.com>님이
작성:

> Personally, I use an explicit cast, which works on both JDK8 and JDK11:
>
>
> https://github.com/qzind/tray/commit/263d7982b7f8d5967385d8c87dcf4cf49ef78540
>

Reply via email to