jdk/src/share/classes/java/lang/invoke/MethodHandles.java
changeset 18274 7c4289125569
parent 18264 286a7973575a
parent 18156 edb590d448c5
child 18569 0e46c17766b7
--- a/jdk/src/share/classes/java/lang/invoke/MethodHandles.java	Fri Jun 14 16:38:13 2013 +0100
+++ b/jdk/src/share/classes/java/lang/invoke/MethodHandles.java	Mon Jun 17 11:26:16 2013 +0100
@@ -1574,7 +1574,7 @@
      * As in the case of {@link #dropArguments(MethodHandle,int,List) dropArguments},
      * incoming arguments which are not mentioned in the reordering array
      * are may be any type, as determined only by {@code newType}.
-     * <blockquote><pre>
+     * <blockquote><pre>{@code
 import static java.lang.invoke.MethodHandles.*;
 import static java.lang.invoke.MethodType.*;
 ...
@@ -1590,7 +1590,7 @@
 MethodHandle twice = permuteArguments(add, intfn1, 0, 0);
 assert(twice.type().equals(intfn1));
 assert((int)twice.invokeExact(21) == 42);
-     * </pre></blockquote>
+     * }</pre></blockquote>
      * @param target the method handle to invoke after arguments are reordered
      * @param newType the expected type of the new method handle
      * @param reorder an index array which controls the reordering