mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
13.42.2009 55becf0d25e15856378b0642f50caaa7e10fc9b7
Follow up to the fix for issue 4276 (java detection message cut off in the install log).  Improve the code to avoid synchronisation problems.
1 files modified
5 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java 5 ●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -207,10 +207,13 @@
                try
                {
                  Thread.sleep(3000);
                  process.destroy();
                  // To see if the process is over, call the exitValue method.
                  // If it is not over, a IllegalThreadStateException.
                  process.exitValue();
                }
                catch (Throwable t)
                {
                  process.destroy();
                }
              }
            });