diff -r e01644e3645e -r 83ea903d5cf1 jdk/src/share/classes/java/lang/invoke/MethodHandles.java --- a/jdk/src/share/classes/java/lang/invoke/MethodHandles.java Thu Oct 17 11:34:01 2013 -0400 +++ b/jdk/src/share/classes/java/lang/invoke/MethodHandles.java Thu Oct 17 13:43:46 2013 -0400 @@ -748,7 +748,7 @@ * If the returned method handle is invoked, the method's class will * be initialized, if it has not already been initialized. *
Example: - *
{@code + *{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ... @@ -806,7 +806,7 @@ * with the same {@code type} argument. * * Example: - *{@code + *{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ... @@ -882,7 +882,7 @@ * If the returned method handle is invoked, the constructor's class will * be initialized, if it has not already been initialized. *Example: - *
{@code + *{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ... @@ -942,7 +942,7 @@ * in special circumstances. Use {@link #findConstructor findConstructor} * to access instance initialization methods in a safe manner.) *Example: - *
{@code + *{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ... @@ -2223,7 +2223,7 @@ * they will come after. ** Example: - *
{@code + **{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ... @@ -2237,7 +2237,7 @@ * }* This method is also equivalent to the following code: - *
+ ** @param target the method handle to invoke after the arguments are dropped @@ -2281,7 +2281,7 @@ * they will come after. ** {@link #dropArguments(MethodHandle,int,Class...) dropArguments}{@code (target, pos, valueTypes.toArray(new Class[0]))} ** Example: - *
{@code + **{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ... @@ -2299,7 +2299,7 @@ * }* This method is also equivalent to the following code: - *
+ ** @param target the method handle to invoke after the arguments are dropped @@ -2347,7 +2347,7 @@ * (null or not) * which do not correspond to argument positions in the target. ** {@link #dropArguments(MethodHandle,int,List) dropArguments}{@code (target, pos, Arrays.asList(valueTypes))} *Example: - *
{@code + *{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ... @@ -2440,7 +2440,7 @@ * In all cases, {@code pos} must be greater than or equal to zero, and * {@code pos} must also be less than or equal to the target's arity. *Example: - *
{@code + *{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ... @@ -2545,7 +2545,7 @@ * The argument type of the filter (if any) must be identical to the * return type of the target. *Example: - *
{@code + *{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ... @@ -2636,7 +2636,7 @@ * arguments will not need to be live on the stack on entry to the * target.) *Example: - *
{@code + *{@code import static java.lang.invoke.MethodHandles.*; import static java.lang.invoke.MethodType.*; ...