Hi Vasily,
- Add regression cases for all methods in the affected classes that do not throw NPE on RI.
I prefer this if names of such methods are already known.
- Add regression for all methods of the affected classes at all.
Or this if you have a lot of free time :) Regards, 2007/2/7, Zakharov, Vasily M <[EMAIL PROTECTED]>:
Hi, all, There's a frequent issue in Swing, that some methods throw NPE if they're called before UI is attached to a component, while RI does not. A good example of this issue is HARMONY-2613. There're only few methods affected, and the fix is rather simple, but the question of proper regression is unclear, as the problem is rather common and may be accidentially introduced to other methods in fiture. I see the following ways to provide a regression: - As usually, add regression cases only for the methods affected by the fix. - Add regression cases for all methods in the affected classes that do not throw NPE on RI. - Add regression for all methods of the affected classes at all. I wonder what would be the right thing to do. What do you think? Vasily
-- Alexei Zakharov, Intel ESSD
