Move Method shorty to managed heap

Change-Id: Iafd05502b498c823063d0603915a92db8c95f060
diff --git a/src/class_linker.cc b/src/class_linker.cc
index 6d5c643..c81df8d 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -886,7 +886,7 @@
   dst->SetProtoIdx(method_id.proto_idx_);
   dst->SetCodeItemOffset(src.code_off_);
   const char* shorty = dex_file.GetShorty(method_id.proto_idx_);
-  dst->SetShorty(shorty);
+  dst->SetShorty(String::AllocFromModifiedUtf8(shorty));
   dst->SetAccessFlags(src.access_flags_);
   dst->SetReturnTypeIdx(dex_file.GetProtoId(method_id.proto_idx_).return_type_idx_);