summaryrefslogtreecommitdiff
path: root/runtime/proxy_test.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2016-11-03 13:06:25 -0700
committer Andreas Gampe <agampe@google.com> 2016-11-03 14:07:56 -0700
commit38cea84b362a10859580e788e984324f36272817 (patch)
treecf232431a9139116ea09b451aa9abbc98b8d8462 /runtime/proxy_test.cc
parent47b6bdb2a06cc4c296762c7461281f4390e17c2d (diff)
ART: Make Handle trivially-copyable
Use default copy constructor and copy assignment to make Handle trivially copyable. Do the same for MutableHandle. Fix up unused Handle warnings. Add asserts in the HandleScope test. Bug: 32619234 Test: m test-art-host Change-Id: I151f0bdbeeb131a6fc5c44610f345663ebe96c09
Diffstat (limited to 'runtime/proxy_test.cc')
-rw-r--r--runtime/proxy_test.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/proxy_test.cc b/runtime/proxy_test.cc
index 32a55822b7..fd7e56d726 100644
--- a/runtime/proxy_test.cc
+++ b/runtime/proxy_test.cc
@@ -199,8 +199,6 @@ TEST_F(ProxyTest, CheckArtMirrorFieldsOfProxyStaticFields) {
ScopedObjectAccess soa(Thread::Current());
jobject jclass_loader = LoadDex("Interfaces");
StackHandleScope<7> hs(soa.Self());
- Handle<mirror::ClassLoader> class_loader(
- hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader)));
Handle<mirror::Class> proxyClass0;
Handle<mirror::Class> proxyClass1;