Welcome to ML derived languages with tracing GC, specially pure ones.
Java isn't the be all end all of GC based languages.
Java isn't the be all end all of GC based languages.
So then one ends up with the usual issue of guest languages, where one needs to create wrappers for the platform APIs to keep the code idiomatic and language invariants.