- Enclosing class:
- FactoryProvider2<F>
private static class FactoryProvider2.SuperMethodSupport
extends java.lang.Object
Holder for the appropriate kind of method lookup to use. Due to bugs in Java releases, we have
to evaluate what approach to take at runtime. We do this by emulating the buggy scenarios: can
a lookup access private details that it should be able to see? If not, we fail down to using
full private access. Unfortunately, private access doesn't work in the JDK17+.... but it
shouldn't be necessary there either, because the buggy lookup checks should be fixed.