summaryrefslogtreecommitdiff
path: root/test/157-void-class/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/157-void-class/src')
-rw-r--r--test/157-void-class/src/Main.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/157-void-class/src/Main.java b/test/157-void-class/src/Main.java
index 322b705f1d..0a052e774d 100644
--- a/test/157-void-class/src/Main.java
+++ b/test/157-void-class/src/Main.java
@@ -35,7 +35,11 @@ public class Main {
}
// Clear the resolved types of the ojluni dex file to make sure there is no entry
// for "V", i.e. void.
- clearResolvedTypes(Integer.class);
+ // TODO: Enable clearing the dex cache when we switch to the hash-based type array
+ // and do a proper lookup. Currently, ClassLinker fully relies on the DexCache.
+ if (false) {
+ clearResolvedTypes(Integer.class);
+ }
// With java.lang.Void being compile-time verified but uninitialized, initialize
// it now. Previously, this would indirectly initialize TYPE with the current,
// i.e. zero-initialized, value of TYPE. The only thing that could prevent the