News for hackers. Stuff that matters.
Re:Java 11 released by calcifer on Tuesday September 25, 2018 @03:25PM (#18069626)
> reflection involving class names that aren't effectively constant at compile-time

Can you give an example?

Re:Java 11 released by xienze on Tuesday September 25, 2018 @03:34PM (#18069724)
Sure, just about any project that has the concept of plugins. At runtime the code looks for plugin instances by searching for, e.g., META-INF/services/<interface_name> on the classpath. Inside that file (or files) you have implementation class names, which are collected and instantiated.