--- a/jdk/src/share/classes/java/lang/invoke/MethodHandles.java Mon Jun 10 12:26:20 2013 +0200
+++ b/jdk/src/share/classes/java/lang/invoke/MethodHandles.java Mon Jun 10 12:58:32 2013 +0100
@@ -1593,7 +1593,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.*;
...
@@ -1609,7 +1609,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