Run time illegal access checks on static and direct methods
Fixes test 075.
Change-Id: I28b20451dcae8000dc0e2cb9068dfa5166659d43
diff --git a/src/class_linker.cc b/src/class_linker.cc
index d8bf664..449bb53 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -83,7 +83,7 @@
const StringPiece& signature) {
ClassHelper kh(c);
std::ostringstream msg;
- msg << "no " << (is_direct ? "direct" : "virtual") << " method " << name << "." << signature
+ msg << "no " << (is_direct ? "direct" : "virtual") << " method " << name << signature
<< " in class " << kh.GetDescriptor() << " or its superclasses";
std::string location(kh.GetLocation());
if (!location.empty()) {