From 95798000b6af5e5805d7be753766e6d2fd5cb4aa Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Fri, 23 Sep 2011 16:17:43 +0000
Subject: [PATCH] Fix OPENDJ-298 - Review screen content is wrong when using QuickSetup. The issue was due to an exception being thrown while building the review screen. The exception was due to the computation of the path of Binaries, incorrect as the Java WebStart Install had not created the install location yet. The fix is to use an alternate way to compute the command path, similar to what was done for setup.
---
opends/src/quicksetup/org/opends/quicksetup/Installation.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/Installation.java b/opends/src/quicksetup/org/opends/quicksetup/Installation.java
index 5b139ba..de73476 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/Installation.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/Installation.java
@@ -48,7 +48,7 @@
* All the operations are dependent upon the root directory that is
* specified in the constructor.
*/
-public class Installation {
+public final class Installation {
/**
* Relative path to OpenDJ jar files.
@@ -1151,6 +1151,8 @@
if (buildInformation == null || !useCachedVersion) {
FutureTask<BuildInformation> ft = new FutureTask<BuildInformation>(
new Callable<BuildInformation>() {
+
+ @Override
public BuildInformation call() throws ApplicationException {
return BuildInformation.create(Installation.this);
}
--
Gitblit v1.10.0