3 ms·
Not gp but avoiding the reflection pitfalls is not so straightforward at all, you have to chase what your dependencies are doing to satisfy the "closed world" h
by alserio 6y ago
Not gp but avoiding the reflection pitfalls is not so straightforward at all, you have to chase what your dependencies are doing to satisfy the "closed world" hypothesis. I still like java more than javascript, but writing performant serverless functions using js is way more easy right now
- eeperson 6y agoYou don't have to chase your dependencies. You just need an adequate suite of tests and then run them with the Graal Tracing Agent enabled [1]. [1] - https://medium.com/graalvm/introducing-the-tracing-agent-simplifying-graalvm-native-image-configuration-c3b56c486271 https://medium.com/graalvm/introducing-the-tracing-agent-sim...
- cle 6y agoYour tests would need to exercise all your transitive dependencies' code paths that are used in production. I very rarely see tests written that way.