As far as I have understood, LGPL-licensed libraries must either be linked dynamically or there must be a mechanism to swap them out of the resulting work. See section 4d of the LGPL license.
Now in traditional Java tech stacks, everything is pretty much linked dynamically, which means there are no issues with LGPL. Comes in GraalVM with ahead-of-time compilation to create native images, essentially a way to compile Java programs statically (it performs inlining as one of its build steps and works under the closed-world-assumption).
For me it then seems that GraalVM thus either needs to implement some mechanisms to swap out the LGPL-licensed libraries of native images (which I have not found) or that the source code for native images needs to be distributed. However, the maintainers of a prominent LGPL library called Hibernate don't seem to identify any issues.
Are the folks at Hibernate turning a blind eye to encourage people using their library or did I miss something? Isn't there a compliance problem when using LGPL'ed libraries in GraalVM native images?