Disable 2042 and 2043 tests on RI.

RI has flakey behavior.

Test: 2042, 2043
Change-Id: Ib00aa545abf131c63dcb0799d11f4c19eba9129f
diff --git a/test/knownfailures.json b/test/knownfailures.json
index b057e69..f93eba5 100644
--- a/test/knownfailures.json
+++ b/test/knownfailures.json
@@ -1097,6 +1097,12 @@
         "description": ["Failing on RI. Needs further investigating. Some of these use smali."]
     },
     {
+        "tests": ["2042-reference-processing",
+                  "2043-reference-pauses"],
+        "variant": "jvm",
+        "description": ["Flakey behavior of RI."]
+    },
+    {
       "tests": [
                   "1974-resize-array",
                   "1975-hello-structural-transformation",