HF RL Explorer

We are seeing an Illegal reflective access warning in Java 9+ when using AssistedInject with factory…

We are seeing an Illegal reflective access warning in Java 9+ when using AssistedInject with factory…: a task in LegoFlow-SWE (Harbor dataset). The underlying issue is that AssistedInject currently uses reflection to obtain a MethodHandles.Lookup with full privileges, solely to call default…

The task

The underlying issue is that `AssistedInject` currently uses reflection to obtain a `MethodHandles.Lookup` with full privileges, solely to call **default methods** on the factory interface. This hack is necessary when the factory interface is **non-public** (package-private) and the compiler generates default methods…

Part of Lego-X/LegoFlow-SWE.