summaryrefslogtreecommitdiff
path: root/test/918-fields/fields.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/918-fields/fields.cc')
-rw-r--r--test/918-fields/fields.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/918-fields/fields.cc b/test/918-fields/fields.cc
index 4d2b34b94e..7d29912f47 100644
--- a/test/918-fields/fields.cc
+++ b/test/918-fields/fields.cc
@@ -14,8 +14,6 @@
* limitations under the License.
*/
-#include "fields.h"
-
#include <stdio.h>
#include "base/macros.h"
@@ -132,17 +130,5 @@ extern "C" JNIEXPORT jboolean JNICALL Java_Main_isFieldSynthetic(
return synth;
}
-// Don't do anything
-jint OnLoad(JavaVM* vm,
- char* options ATTRIBUTE_UNUSED,
- void* reserved ATTRIBUTE_UNUSED) {
- if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) {
- printf("Unable to get jvmti env!\n");
- return 1;
- }
- SetAllCapabilities(jvmti_env);
- return 0;
-}
-
} // namespace Test918Fields
} // namespace art