Skip to content

Add check for Other Projects working set in JavaWorkingSetUpdater#2980

Merged
jjohnstn merged 1 commit into
eclipse-jdt:masterfrom
jjohnstn:workingsetfix
May 14, 2026
Merged

Add check for Other Projects working set in JavaWorkingSetUpdater#2980
jjohnstn merged 1 commit into
eclipse-jdt:masterfrom
jjohnstn:workingsetfix

Conversation

@jjohnstn
Copy link
Copy Markdown
Contributor

  • in JavaWorkingSetUpdater.elementChange() make sure that the Other Projects working set is processed either as part of the local list or by searching for it

What it does

See eclipse-platform/eclipse.platform.ui#2250 (comment)

How to test

See issue above.

Author checklist

- in JavaWorkingSetUpdater.elementChange() make sure that the
  Other Projects working set is processed either as part of the
  local list or by searching for it
@jjohnstn jjohnstn self-assigned this May 12, 2026
@jjohnstn jjohnstn added the bug Something isn't working label May 12, 2026
@jjohnstn jjohnstn merged commit d313778 into eclipse-jdt:master May 14, 2026
13 checks passed
@jjohnstn jjohnstn deleted the workingsetfix branch May 14, 2026 14:43
@jjohnstn jjohnstn added this to the 4.40 M3 milestone May 14, 2026
@nettozahler
Copy link
Copy Markdown
Contributor

Hi @jjohnstn . Meanwhile I have tested the fix. But it does not work for me. Neither the "new project" case nor the the "delete project". So for me the wrong behavior is unchanged. I also don't see how the fix should work since the "others working set" is a dummy only, the code line
IWorkingSet other= manager.getWorkingSet(WorkingSetMessages.WorkingSetModel_others_name);
always yields null (at least for me). Did it work for you with the settings I have described?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants