Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2017-07-25 04:03:22 -0400
committerAndrey Loskutov2017-09-19 08:19:56 -0400
commitf50f26c40744176ae6f2ace2bd45410130ea75de (patch)
tree496662cf91b8a880ac5ae45c1d805fa93d01babf /eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.product
parent5a6a685ec54a775ed8d8a0e3ca27057412742a44 (diff)
downloadeclipse.platform.releng.aggregator-f50f26c40744176ae6f2ace2bd45410130ea75de.tar.gz
eclipse.platform.releng.aggregator-f50f26c40744176ae6f2ace2bd45410130ea75de.tar.xz
eclipse.platform.releng.aggregator-f50f26c40744176ae6f2ace2bd45410130ea75de.zip
Bug 514333 - Preferences store access can lead to unattended workspace
location initialization By specifying "osgi.dataAreaRequiresExplicitInit" system property in the product we enforce strict instance data location initialization checks. Now if a plugin will try to access instance data before it is set during startup, startup will fail with a stack trace pointing to the offending code. This change requires a change in equinox first, see https://git.eclipse.org/r/94671. Change-Id: Ieeeca05f0a2ff36ee94c60cbf200d2acb4b8f285 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.product')
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.product2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.product b/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.product
index 2c0c5396..240a6c01 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.product
+++ b/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.product
@@ -9,7 +9,7 @@
<launcherArgs>
<programArgs>--launcher.defaultAction openFile --launcher.appendVmargs
</programArgs>
- <vmArgs>-Dosgi.requiredJavaVersion=1.8 -Xms256m -Xmx1024m --add-modules=ALL-SYSTEM
+ <vmArgs>-Dosgi.requiredJavaVersion=1.8 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx1024m --add-modules=ALL-SYSTEM
</vmArgs>
<vmArgsMac>-Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts
</vmArgsMac>

Back to the top