< prev index next >

src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java

Print this page

        

*** 38,47 **** --- 38,48 ---- import sun.invoke.empty.Empty; import sun.invoke.util.ValueConversions; import sun.invoke.util.VerifyType; import sun.invoke.util.Wrapper; + import java.foreign.layout.LayoutPath; import java.lang.reflect.Array; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Iterator;
*** 1797,1806 **** --- 1798,1811 ---- return GenerateJLIClassesHelper .generateInvokersHolderClassBytes(className, invokerMethodTypes, callSiteMethodTypes); } + @Override + public VarHandle memoryAddressViewVarHandle(Class<?> carrier, LayoutPath path) { + return VarHandles.makeMemoryAddressViewHandle(carrier, path); + } }); } /** Result unboxing: ValueConversions.unbox() OR ValueConversions.identity() OR ValueConversions.ignore(). */ private static MethodHandle unboxResultHandle(Class<?> returnType) {
< prev index next >