< prev index next >

src/hotspot/share/oops/method.hpp

Print this page

        

@@ -886,12 +886,13 @@
   }
   void set_dont_inline(bool x) {
     _flags = x ? (_flags | _dont_inline) : (_flags & ~_dont_inline);
   }
 
-  bool is_hidden() {
-    return (_flags & _hidden) != 0;
+  bool is_hidden() const {
+    // ## FIXME: should be set at class parsing time
+    return method_holder()->is_nonfindable() || (_flags & _hidden) != 0;
   }
   void set_hidden(bool x) {
     _flags = x ? (_flags | _hidden) : (_flags & ~_hidden);
   }
 
< prev index next >