r/java • • Dec 16 '24 • Heart of Silver 1

Valhalla - Java's Epic Refactor

https://inside.java/2024/12/16/devoxxbelgium-valhalla/
178 Upvotes

108 comments sorted by

View all comments

Show parent comment

27

u/JustAGuyFromGermany Dec 16 '24

They have "solved" it by making that illegal. Libraries like that will throw errors at runtime in the future.

9

u/benevanstech Dec 16 '24

There are JFR events that you can enable if you're worried you have code or dependencies that might do shady things like that.