Minor improvements for invoke-custom
Test: m online-sac-docs
Bug: 33191717,30550796
Change-Id: I6a218c6d8ce522f30f5140145cd35dfab5495518
diff --git a/src/devices/tech/dalvik/dex-format.jd b/src/devices/tech/dalvik/dex-format.jd
index 33d96ad..1903f28 100644
--- a/src/devices/tech/dalvik/dex-format.jd
+++ b/src/devices/tech/dalvik/dex-format.jd
@@ -1930,7 +1930,7 @@
<li><code>java.lang.invoke.MethodType</code></li>
</ol>
-<p>And any remaining parameter types correspond to the additional arguments being passed to the bootstrap linker method.
+<p>The parameter types of any additional arguments are determined from their constant values.
<h3 id="method-handle-item">method_handle_item</h3>
<h4>appears in the method_handles section</h4>
@@ -1957,7 +1957,7 @@
<td><i>(unused)</i></td>
</tr>
<tr>
- <td>field_or_method_id/td>
+ <td>field_or_method_id</td>
<td>ushort</td>
<td>Field or method id depending on whether the method handle type is an accessor or a method invoker</td>
</tr>
diff --git a/src/devices/tech/dalvik/instruction-formats.jd b/src/devices/tech/dalvik/instruction-formats.jd
index 697bc02..76e61d4 100644
--- a/src/devices/tech/dalvik/instruction-formats.jd
+++ b/src/devices/tech/dalvik/instruction-formats.jd
@@ -465,7 +465,7 @@
</td>
</tr>
<tr>
- <td>AG|<i>op</i> BBBB F|E|D|C HHHH
+ <td>A|G|<i>op</i> BBBB F|E|D|C HHHH
<td>45cc</td>
<td>
<i>[<code>A=5</code>] <code>op</code></i> {vC, vD, vE, vF, vG}, meth@BBBB, proto@HHHH<br>