Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319093 - 'Installed JREs' preference page should have an apply button
Summary: 'Installed JREs' preference page should have an apply button
Status: CLOSED DUPLICATE of bug 121057
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 05:07 EDT by Michael Pellaton CLA
Modified: 2010-07-07 14:37 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Pellaton CLA 2010-07-07 05:07:10 EDT
Build Identifier: I20100608-0911 (aka 3.6.0)

The 'Installed JRE' preference page should either store it's values immediately or have an 'Apply' button. The problem with the current behaviour, which stores and propagates changes only when the 'OK' button is pressed, is that one cannot add a JRE and configure the execution environments without closing and reopening the preference dialog.

Class: JDKPreferencePage

Reproducible: Always

Steps to Reproduce:
1. open the Preference dialog (Window > Preferences)
2. navigate to Java > Installed JREs
3. add a new JRE
4. navigate to Java > Installed JREs > Execution Environments
--> The newly added JRE is not offered in the list of 'Compatible JREs'

5. close Preference dialog with a click on the OK button
6. reopen the preference dialog (Window > Preferences)
7. navigate to Java > Installed JREs > Execution Environments
--> The previously added JRE is offered in the list of 'Compatible JREs'
Comment 1 Markus Keller CLA 2010-07-07 08:19:34 EDT
See also bug 237709 and bug 121057 (could also mark as a dup of the latter).
Comment 2 Curtis Windatt CLA 2010-07-07 14:37:26 EDT
This is a limitation of the preferences page behaviour.  Adding an apply button is already covered under bug 121057.

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