Docs: Update docs for default-methods and dex version 037

Bug: 24618811
Bug: 26942717
Bug: 27809626

Change-Id: I5d64597ca111fd5c6b24d35646d75078f56c04f1
diff --git a/src/devices/tech/dalvik/constraints.jd b/src/devices/tech/dalvik/constraints.jd
index c95bae0..6fe10dc 100644
--- a/src/devices/tech/dalvik/constraints.jd
+++ b/src/devices/tech/dalvik/constraints.jd
@@ -53,7 +53,8 @@
         </td>
 
         <td>
-          The <code>magic</code> number of the <code>.dex</code> file must be: <code>dex\n035\0</code>
+          The <code>magic</code> number of the <code>.dex</code> file must be
+          <code>dex\n035\0</code> or <code>dex\n037\0</code>.
         </td>
       </tr>
 
@@ -451,8 +452,7 @@
           The <code>C</code> operand of the <code>invoke-virtual</code>,
           <code>invoke-super</code>, <code>invoke-direct</code> and
           <code>invoke-static</code> instructions must be a valid index into the
-          method constant pool. In all cases, the referenced
-          <code>method_id</code> must belong to a class (not an interface).
+          method constant pool.
         </td>
       </tr>
 
@@ -465,8 +465,7 @@
           The <code>B</code> operand of the <code>invoke-virtual/range</code>,
           <code>invoke-super/range</code>, <code>invoke-direct/range</code>, and
           <code>invoke-static/range</code> instructions must be a valid index
-          into the method constant pool. In all cases, the referenced
-          <code>method_id</code> must belong to a class (not an interface).
+          into the method constant pool.
         </td>
       </tr>
 
@@ -591,6 +590,34 @@
           must be non-negative and smaller than <code>registers_size-1</code>.
         </td>
       </tr>
+      <tr>
+        <td>
+          A24
+        </td>
+
+        <td>
+          The <code>method_id</code> operand of the <code>invoke-virtual</code>
+          and <code>invoke-direct</code> instructions must belong to a class
+          (not an interface). In Dex files prior to version <code>037</code>
+          the same must be true of <code>invoke-super</code> and
+          <code>invoke-static</code> instructions.
+        </td>
+      </tr>
+
+      <tr>
+        <td>
+          A25
+        </td>
+
+        <td>
+          The <code>method_id</code> operand of the
+          <code>invoke-virtual/range</code> and
+          <code>invoke-direct/range</code> instructions must belong to a class
+          (not an interface). In Dex files prior to version <code>037</code>
+          the same must be true of <code>invoke-super/range</code> and
+          <code>invoke-static/range</code> instructions.
+        </td>
+      </tr>
     </table>
 
     <h2 id="struct-constraints">