modules/fxpackager/src/main/native/library/common/Messages.cpp

Print this page

        

@@ -48,14 +48,15 @@
     FMessages.SetValue(METHOD_NOT_FOUND, _T("No method %s in class %s."));
     FMessages.SetValue(CLASS_NOT_FOUND, _T("Class %s not found."));
     FMessages.SetValue(ERROR_INVOKING_METHOD, _T("Error invoking method."));
     //FMessages.SetValue(CONFIG_FILE_NOT_FOUND, _T("Configuration file %s is not found."));
     //FMessages.SetValue(BUNDLED_JVM_NOT_FOUND, _T("$JAVAVMLIBRARYNAME is not found in the bundled runtime."));
+    FMessages.SetValue(APPCDS_CACHE_FILE_NOT_FOUND, _T("Error: AppCDS cache does not exists:\n\n%s"));
 }
 
 Messages& Messages::GetInstance() {
-    Lock lock;
+    //Lock lock;
     static Messages instance; // Guaranteed to be destroyed. Instantiated on first use.
     return instance;
 }
 
 Messages::~Messages(void) {