Community
Participate
Working Groups
20031119 1. open the compiler preference page 2. change 'Problems in Javadoc' to 'error' 3. press 'ok' 4. open the preference page again. optionms still set to 'ignore' The preference page sets the setting correctly with JavaCore.setOptions(). The compiler page still uses the old constant.
Due to synch problem between jdt-ui and jdt-core changes. My initial fix was taken into account the fact that jdt-ui directly refers to old key. As in this new build this was no longer the case, the fix becomes invalid :(
Fixed. Remove all temporary set of old key in the options map (needed as the UI dialog refered to it in previous version). There was also a problem as we need to remove the old key from preferences. In getOptions() of JavaCore and JavaProject when old key was encountered, set the old key preference to default value (which means remove it...) and store the new key preference with the get value. No specific test cases as this is temporary until M6 build. To verify that this bug is correctly fixed, we need to open eclipse on a old workspace which had Javadoc compiler options set both on workspace and project preferences. After the workspace open, the previous values for these options should be kept. Also verify that values changes for these options both on workspace and project are also kept when closing and reopening preferences windows. Also verify that no old keys are stored in preference files after closing the workspace.
Verified in 200311191547.
*** Bug 46922 has been marked as a duplicate of this bug. ***