5 ms·
Doesn't Graal require that none of Java's reflection stuff be used? e.g. Class.forName, Class.getFields, runtime DI frameworks, and so on. This would seem to
by sk5t 5y ago
Doesn't Graal require that none of Java's reflection stuff be used? e.g. Class.forName, Class.getFields, runtime DI frameworks, and so on. This would seem to majorly limit the cases where it might be used.
- merb 5y agono it does not. if you use native-image, thats on another level tough.
- shellac 5y agoYou're (understandably) conflating GraalVM, a JVM using Graal to jit, with Graal Native which compiles java to native code ahead of time. The latter needs some help with runtime features that obscure which code is run. This is about the former.
- sk5t 5y agoAh right you are, and I've only experimented with Graal to build native images.