Bug 200245

Summary: Changes to JVM EE file are not picked up by dialog
Product: [Eclipse Project] JDT Reporter: Curtis Windatt <curtis.windatt.public>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: darin.eclipse
Version: 3.4Keywords: bugday
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Curtis Windatt CLA 2007-08-16 16:06:02 EDT
Open the AddVMDialog from the installed JRE preference page.
Select an EE file.
Close the dialog.
Edit the EE file (for example, delete some entries)
Reopen the dialog and select the same EE file.

The settings picked up by the dialog are the old settings.  They do not notice the changes to the file.

The EE file properties are being cached by EEVMType.

This bug makes it very difficult to fix a problem in an EE file (changed path, etc.).  In most cases users are not going to be changing their EE files, but it still might be preferable to clear the cache when the dialog is opened.
Comment 1 Darin Wright CLA 2007-09-24 12:15:06 EDT
This will be picked up with the rework in bug 201758. The VM attributes will be read once from the file, but a "re-load" or "restore defaults" button will allow the VM attributes to be re-read from the EE file.

*** This bug has been marked as a duplicate of bug 201758 ***