diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotMethodResolved.java @ 1472:7641338cfc92

Small NPE fix. More detailed error in case of wrong bytecode in patching stub.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Thu, 25 Nov 2010 19:21:22 +0100
parents c0155c60b089
children f5908cceac7d
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotMethodResolved.java	Tue Nov 23 18:42:21 2010 +0100
+++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotMethodResolved.java	Thu Nov 25 19:21:22 2010 +0100
@@ -170,7 +170,7 @@
 
     @Override
     public String toString() {
-        return "HotSpotMethod<" + holder.name() + ". " + name + ">";
+        return "HotSpotMethod<" + holder().name() + ". " + name + ">";
     }
 
     @Override