This enhancement stemmed from developer feedback and the desire to make the MethodHandle, MethodHandles, and MethodHandles.Lookup classes much easier to use. There was also the call to add additional use cases.
These changes resulted in the following benefits:
- Enabled precision in the usage of the MethodHandle API
- Instantiation reduction
- Increased JVM compiler optimizations