Community
Participate
Working Groups
I20080430-0100 org.eclipse.jdt.core.tests.model.OptionTests.testBug68993() now fails because the registered INodeChangeListener is no longer notified when the preferences file is removed (see ProjectPreferences.deleted(IFile)) I believe the bug was introduced by the fix for bug 137398. This is a regression comparing to I20080429-0100.
It is true that this problem is caused by the bug 137398 fix. It is not a regression though, since the steps from bug 68993 doesn't cause the error on Eclipse with this fix. We agreed with Jerome, that the test for bug 68993 doesn't test the initial issue accurately.
Thanks Szymon. Indeed the test assumed that the preference file would be removed when resetting the options. This assumption was incorrect. Changing title accordingly.
Created attachment 98152 [details] Fix for the test The test was assuming that the preference file was deleted, and thus that the IEclipsePreferences instance would be reset. This is no longer true. All we need to test is that the IEclipsePreferences instance is empty.
Fix released for 3.4M7
Passes with HEAD. Waiting for next build to verify...
Verified for 3.4 M7 using build I20080502-0100.