jdk/src/share/classes/java/lang/invoke/MethodType.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/jdk/src/share/classes/java/lang/invoke/MethodType.java	Tue Jul 23 21:21:23 2013
--- new/jdk/src/share/classes/java/lang/invoke/MethodType.java	Tue Jul 23 21:21:23 2013

*** 34,43 **** --- 34,44 ---- import java.util.List; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ConcurrentHashMap; import sun.invoke.util.BytecodeDescriptor; import static java.lang.invoke.MethodHandleStatics.*; + import sun.invoke.Stable; import sun.invoke.util.VerifyType; /** * A method type represents the arguments and return type accepted and * returned by a method handle, or the arguments and return type passed
*** 92,104 **** --- 93,105 ---- // The rtype and ptypes fields define the structural identity of the method type: private final Class<?> rtype; private final Class<?>[] ptypes; // The remaining fields are caches of various sorts: ! private @Stable MethodTypeForm form; // erased form, plus cached data about primitives ! private @Stable MethodType wrapAlt; // alternative wrapped/unwrapped version ! private Invokers invokers; // cache of handy higher-order adapters ! private @Stable Invokers invokers; // cache of handy higher-order adapters /** * Check the given parameters for validity and store them into the final fields. */ private MethodType(Class<?> rtype, Class<?>[] ptypes) {

jdk/src/share/classes/java/lang/invoke/MethodType.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File