ART: Fix test 912
Pass a descripter instead of a name.
Partial revert of commit 31c88580deb129f99f6b9835c6e21cb86a875f88.
(cherry picked from commit a164ec5b3811ba29a9fd83df9f318f07973224ce)
Bug: 36344364
Test: art/test/testrunner/testrunner.py -b --host --jit --no-prebuild --no-dex2oat -t 912
Test: art/test/testrunner/testrunner.py -b --host -t 912
Change-Id: I94085445bbc37f4b932dd4477763f114accbbc3c
diff --git a/test/912-classes/src/art/Test912Art.java b/test/912-classes/src/art/Test912Art.java
index 6da3cad..a1e7ff2 100644
--- a/test/912-classes/src/art/Test912Art.java
+++ b/test/912-classes/src/art/Test912Art.java
@@ -39,7 +39,7 @@
// run in configurations where dex2oat didn't verify the class itself. So explicitly
// check whether the class has been already loaded, and skip then.
// TODO: Add multiple configurations to the run script once that becomes easier to do.
- if (hasJit() && !isLoadedClass("art.Test912Art$ClassD")) {
+ if (hasJit() && !isLoadedClass("Lart/Test912Art$ClassD;")) {
testClassEventsJit();
}
}
diff --git a/test/knownfailures.json b/test/knownfailures.json
index 1d2a291..4c360ea 100644
--- a/test/knownfailures.json
+++ b/test/knownfailures.json
@@ -329,11 +329,6 @@
"variant": "interpreter | optimizing | regalloc_gc | jit"
},
{
- "tests": ["912-classes"],
- "bug": "http://b/36344364",
- "variant": "no-dex2oat | relocate-npatchoat"
- },
- {
"tests": ["476-clinit-inline-static-invoke",
"496-checker-inlining-class-loader",
"508-referrer-method",