Community
Participate
Working Groups
We should understand why this field is static and if turning it into a member field or a local variable would have any side effects.
Quite an old bug, I was about to report that myself... As far as I can see the field is only used in initTab to transport data and making it a local variable in that method should not be a problem.
(In reply to Wolfgang Pedot from comment #1) > Quite an old bug, I was about to report that myself... > As far as I can see the field is only used in initTab to transport data and > making it a local variable in that method should not be a problem. Could you provide a fix through Gerrit [1]? [1] https://eclipse.org/rap/source/ [2] https://wiki.eclipse.org/RAP/Git
Created attachment 263840 [details] make tempPartInfo into non-static member variable Here is a patch, I checked whats happening with tempPartinfo during the setInfo and setSelectedInfo calls and all implementations I could find only access the members of tempPartInfo without storing its reference so there should be no side-effects. Making it non-static is less invasive than turning it into a local variable.