< prev index next >

src/jdk.jpackage/share/native/libapplauncher/Messages.cpp

Print this page

        

*** 23,39 **** * questions. */ #include "Messages.h" #include "Platform.h" - #include "Lock.h" #include "FilePath.h" #include "Helpers.h" #include "Macros.h" #include "JavaVirtualMachine.h" - Messages::Messages(void) { FMessages.SetReadOnly(false); FMessages.SetValue(LIBRARY_NOT_FOUND, _T("Failed to find library.")); FMessages.SetValue(FAILED_CREATING_JVM, _T("Failed to create JVM")); FMessages.SetValue(FAILED_LOCATING_JVM_ENTRY_POINT, --- 23,37 ----
*** 45,55 **** FMessages.SetValue(APPCDS_CACHE_FILE_NOT_FOUND, _T("Error: AppCDS cache does not exists:\n%s\n")); } Messages& Messages::GetInstance() { - //Lock lock; static Messages instance; // Guaranteed to be destroyed. Instantiated on first use. return instance; } --- 43,52 ----
< prev index next >