Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-10-09 17:52:28 +0000
committerAlexander Kurtakov2018-10-09 17:52:28 +0000
commitb6bfe451c42dc3958f1f9a80a1a60747e0f81062 (patch)
tree1d5f53073b70b1a8c07825c6f11157452a773b2f
parent85ebd007c251b6a7e06624c94314979f5ca0b927 (diff)
downloadrt.equinox.bundles-b6bfe451c42dc3958f1f9a80a1a60747e0f81062.tar.gz
rt.equinox.bundles-b6bfe451c42dc3958f1f9a80a1a60747e0f81062.tar.xz
rt.equinox.bundles-b6bfe451c42dc3958f1f9a80a1a60747e0f81062.zip
Change-Id: Id40ae4cdb98e3712b45c6e2b8a4c656cb212a59c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.app/src/org/eclipse/equinox/internal/app/AppPersistence.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.app/src/org/eclipse/equinox/internal/app/AppPersistence.java b/bundles/org.eclipse.equinox.app/src/org/eclipse/equinox/internal/app/AppPersistence.java
index 4e4b67255..0181b4a2a 100644
--- a/bundles/org.eclipse.equinox.app/src/org/eclipse/equinox/internal/app/AppPersistence.java
+++ b/bundles/org.eclipse.equinox.app/src/org/eclipse/equinox/internal/app/AppPersistence.java
@@ -299,6 +299,7 @@ public class AppPersistence implements ServiceTrackerCustomizer {
// must call this while holding the locks lock
private static void saveLocks(File locksData) throws IOException {
try (ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(locksData))) {
+ out.writeInt(DATA_VERSION);
out.writeInt(locks.size());
for (Iterator iterLocks = locks.iterator(); iterLocks.hasNext();)
out.writeUTF((String) iterLocks.next());

Back to the top