src/hotspot/cpu/sparc/frame_sparc.cpp
changeset 51263 b5aac518b097
parent 47560 e4a5b535c0d2
child 54437 2ae93028bef3
--- a/src/hotspot/cpu/sparc/frame_sparc.cpp	Mon Jul 30 14:08:30 2018 -0400
+++ b/src/hotspot/cpu/sparc/frame_sparc.cpp	Mon Jul 30 16:35:54 2018 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -648,7 +648,7 @@
   Method* m = *interpreter_frame_method_addr();
 
   // validate the method we'd find in this potential sender
-  if (!m->is_valid_method()) return false;
+  if (!Method::is_valid_method(m)) return false;
 
   // stack frames shouldn't be much larger than max_stack elements