Open Artur- opened 1 year ago
I guess if you still want it to work without having to have com.sun.nio.file
on the classpath, then we could also catch the NoClassDefFoundError
, but that modifier provides much better accuracy and performance when it is supported, so do we really want to do that? I'm not familiar with Wildfly in particular so I'm not sure about the impact there.
This might be related. I'm getting this error on GraalVM 22:
Execution error (NoSuchMethodError) at com.oracle.truffle.api.library.LibraryFactory/ensureLibraryInitialized (LibraryFactory.java:384).
'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)'
When running inside Wildfly 27.0.1.Final, a call to
waitAsync()
fails withThe problematic code is
and as it throws a
NoClassDefFoundError
, the case is not handled by