Duplicate :
|
C2 doesn't handle the case during inlining throw MethodHandle.invoke* when receiver is null, e.g.: target.invokeExact((Test) null); Test case attached. ILW = HLH = P2 I = H: product crash L = L: constant null receiver is rare W = H: disable inlining, but it's not feasible in practice
|