Bug 4000 - JavaRuntime: initializeVMInstalls not robust against multiple calls (1GFO0YG)
Summary: JavaRuntime: initializeVMInstalls not robust against multiple calls (1GFO0YG)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P2 critical (vote)
Target Milestone: ---   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:04 EDT by Erich Gamma CLA
Modified: 2001-10-22 05:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2001-10-10 23:04:23 EDT
TM (6/21/2001 12:06:20)
	SDK 125

	1) in the startup of a plugin that contributes a IVMInstallType, call JavaRuntime.getVMInstallTypes
	2) open the Installed JRE's preference page
	3) now the initializeVMInstalls() method on JavaRuntime is called
	4) this executes the startup method
	5) the getVMInstallTypes() call from the startup method executes initializeVMInstalls() again.
	6) the initialization is executed twice, possibly overwriting results of the first initialization.
Comment 1 Martin Aeschlimann CLA 2001-10-16 11:16:43 EDT
moved to 'active'
Comment 2 Martin Aeschlimann CLA 2001-10-22 05:27:00 EDT
Added 'synchronize' to the initialize methods
> 205