Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinston Prakash2015-05-19 00:03:44 -0400
committerWinston Prakash2015-05-19 00:03:44 -0400
commit25df9a36d80012230d61d08e07d07120390241ca (patch)
tree0528f411030677b7c58267f18f745a83b66b821b
parente7e0897d6ed068f5c6d637e37eb2fa7a77c5a691 (diff)
downloadorg.eclipse.hudson.core-25df9a36d80012230d61d08e07d07120390241ca.tar.gz
org.eclipse.hudson.core-25df9a36d80012230d61d08e07d07120390241ca.tar.xz
org.eclipse.hudson.core-25df9a36d80012230d61d08e07d07120390241ca.zip
Bug Fix: 467510 - After a restart tool config is lost in 3.3.0-M0
-rw-r--r--hudson-core/src/main/java/hudson/model/ListView.java2
-rw-r--r--hudson-core/src/main/java/hudson/tools/ToolInstallation.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/hudson-core/src/main/java/hudson/model/ListView.java b/hudson-core/src/main/java/hudson/model/ListView.java
index ebc0aa38..32a3e9e2 100644
--- a/hudson-core/src/main/java/hudson/model/ListView.java
+++ b/hudson-core/src/main/java/hudson/model/ListView.java
@@ -86,7 +86,7 @@ public class ListView extends View implements Saveable {
}
}
- private Object readResolve() {
+ public Object readResolve() {
if (includeRegex != null) {
includePattern = Pattern.compile(includeRegex);
}
diff --git a/hudson-core/src/main/java/hudson/tools/ToolInstallation.java b/hudson-core/src/main/java/hudson/tools/ToolInstallation.java
index 35d13a5c..21c340ab 100644
--- a/hudson-core/src/main/java/hudson/tools/ToolInstallation.java
+++ b/hudson-core/src/main/java/hudson/tools/ToolInstallation.java
@@ -143,7 +143,7 @@ public abstract class ToolInstallation extends AbstractDescribableImpl<ToolInsta
/**
* Invoked by XStream when this object is read into memory.
*/
- private Object readResolve() {
+ public Object readResolve() {
if (properties == null) {
properties = new DescribableList<ToolProperty<?>, ToolPropertyDescriptor>(Saveable.NOOP);
}

Back to the top