hotspot/src/share/vm/utilities/json.hpp
changeset 35529 39376b4613b5
parent 33451 0712796e4039
child 46638 3c5c50af29a7
equal deleted inserted replaced
35527:7dc2870c3171 35529:39376b4613b5
   106   int skip_block_comment();
   106   int skip_block_comment();
   107 
   107 
   108   const char* strerror(JSON_ERROR e);
   108   const char* strerror(JSON_ERROR e);
   109 };
   109 };
   110 
   110 
   111 #ifndef PRODUCT
       
   112 class JSONTest : public JSON {
       
   113  public:
       
   114   static bool test();
       
   115 
       
   116  private:
       
   117   JSONTest(const char* text);
       
   118   static void test(const char* json, bool valid);
       
   119 
       
   120   void log(uint level, const char* format, ...) ATTRIBUTE_PRINTF(3, 4);
       
   121 
       
   122   bool callback(JSON_TYPE t, JSON_VAL* v, uint level);
       
   123   JSON_TYPE prev;
       
   124 };
       
   125 #endif
       
   126 
       
   127 #endif // SHARE_VM_UTILITIES_JSON_HPP
   111 #endif // SHARE_VM_UTILITIES_JSON_HPP