src/jdk.jpackage/windows/native/libapplauncher/WindowsPlatform.cpp
branchJDK-8200758-branch
changeset 57323 66c1dbc008c5
parent 57316 2891b3ae222d
child 57407 2c14fbeff1dc
equal deleted inserted replaced
57320:5a5e00cc9932 57323:66c1dbc008c5
   237     IniFile *result = new IniFile();
   237     IniFile *result = new IniFile();
   238     if (result == NULL) {
   238     if (result == NULL) {
   239         return NULL;
   239         return NULL;
   240     }
   240     }
   241 
   241 
   242     if (result->LoadFromFile(FileName) == false) {
   242     result->LoadFromFile(FileName);
   243         // New property file format was not found,
       
   244         // attempt to load old property file format.
       
   245         Helpers::LoadOldConfigFile(FileName, result);
       
   246     }
       
   247 
   243 
   248     return result;
   244     return result;
   249 }
   245 }
   250 
   246 
   251 TString WindowsPlatform::GetModuleFileName() {
   247 TString WindowsPlatform::GetModuleFileName() {