| 5 | | * attachment:21064.BasicPreferencesConfigReset.patch iterates through all loaded classes (I make an assumption that we only have one classloader), and sets all AbstractProperty preferences fields to the new preferences. This uses reflection to fiddle with final fields, which has some pitfalls. |
| 6 | | * attachment:21064.BasicPreferencesConfigReset.2.patch is the same as attachment:21064.BasicPreferencesConfigReset.patch, except it additionally resets the preferences fields to null. This is better from a test isolation view, but I can almost guarantee that additional tests will fail. |
| | 5 | * attachment:21139.patch iterates through all loaded classes (I make an assumption that we only have one classloader), and sets all AbstractProperty preferences fields to the new preferences. This uses reflection to fiddle with final fields, which has some pitfalls. |
| | 6 | * attachment:21139.2.patch is the same as attachment:21139.patch, except it additionally resets the preferences fields to null. This is better from a test isolation view, but I can almost guarantee that additional tests will fail. |