Bug 200245 - Changes to JVM EE file are not picked up by dialog
Summary: Changes to JVM EE file are not picked up by dialog
Status: RESOLVED DUPLICATE of bug 201758
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2007-08-16 16:06 EDT by Curtis Windatt CLA
Modified: 2007-09-24 12:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***