src/hotspot/share/runtime/signature.hpp
changeset 54124 5d48ae032588
parent 53244 9807daeb47c4
child 54133 829bf950287e
--- a/src/hotspot/share/runtime/signature.hpp	Mon Feb 25 15:41:24 2019 +0100
+++ b/src/hotspot/share/runtime/signature.hpp	Thu Mar 14 09:38:17 2019 -0400
@@ -415,11 +415,9 @@
   int reference_parameter_count();
 };
 
+#ifdef ASSERT
 class SignatureVerifier : public StackObj {
   public:
-    // Returns true if the symbol is valid method or type signature
-    static bool is_valid_signature(Symbol* sig);
-
     static bool is_valid_method_signature(Symbol* sig);
     static bool is_valid_type_signature(Symbol* sig);
   private:
@@ -427,5 +425,5 @@
     static ssize_t is_valid_type(const char*, ssize_t);
     static bool invalid_name_char(char);
 };
-
+#endif
 #endif // SHARE_RUNTIME_SIGNATURE_HPP