diff options
Diffstat (limited to 'runtime/proxy_test.cc')
-rw-r--r-- | runtime/proxy_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/proxy_test.cc b/runtime/proxy_test.cc index 3260992fba..cb97049c5b 100644 --- a/runtime/proxy_test.cc +++ b/runtime/proxy_test.cc @@ -185,7 +185,7 @@ TEST_F(ProxyTest, ProxyFieldHelper) { MutableHandle<mirror::ArtField> fhandle = hs.NewHandle(static_fields->Get(0)); EXPECT_EQ("interfaces", std::string(fhandle->GetName())); EXPECT_EQ("[Ljava/lang/Class;", std::string(fhandle->GetTypeDescriptor())); - EXPECT_EQ(interfacesFieldClass.Get(), fhandle->GetType(true)); + EXPECT_EQ(interfacesFieldClass.Get(), fhandle->GetType<true>()); std::string temp; EXPECT_EQ("L$Proxy1234;", std::string(fhandle->GetDeclaringClass()->GetDescriptor(&temp))); EXPECT_FALSE(fhandle->IsPrimitiveType()); @@ -194,7 +194,7 @@ TEST_F(ProxyTest, ProxyFieldHelper) { fhandle.Assign(static_fields->Get(1)); EXPECT_EQ("throws", std::string(fhandle->GetName())); EXPECT_EQ("[[Ljava/lang/Class;", std::string(fhandle->GetTypeDescriptor())); - EXPECT_EQ(throwsFieldClass.Get(), fhandle->GetType(true)); + EXPECT_EQ(throwsFieldClass.Get(), fhandle->GetType<true>()); EXPECT_EQ("L$Proxy1234;", std::string(fhandle->GetDeclaringClass()->GetDescriptor(&temp))); EXPECT_FALSE(fhandle->IsPrimitiveType()); } |