New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert 1101 #1106
Revert 1101 #1106
Conversation
java.util.EventListener" This reverts commit bd306ac. Replacing SWTEventListener directly with java.util.EventListener breaks binary compatibility with bundles compiled against any older SWT version. See discussion on eclipse-platform#1101
I do not see warnings on Linux with this patch.
I will add an additional commit on top that would mute these warnings (looking on the code they existed since very beginning), so that we would have zero API warnings on Windows too. |
@merks :
I've tried master on Linux/Windows and see no errors. |
No, restarts and cleans don't help. |
|
Just tried on Linux with IDE on I20240313-0830 and baseline on https://download.eclipse.org/eclipse/downloads/drops4/R-4.31-202402290520/ , everything is fine. |
I have this installed: I have this API baseline: The API baseline has content from this repository: The problem won't go away and it seems like a real problem. Are you expecting an API filter to make it go away? Because the change it's complaining about is really a change since the last release: Should the revert go farther back? |
Yes, with this line: Do you have clean workspace, may be .settings or filters deleted by occasion? |
So, running SDK I20240313-0830 from https://download.eclipse.org/eclipse/downloads/drops4/I20240313-0830/ with API baseline set to the extracted final 4.31 SDK zip file downloaded from https://download.eclipse.org/eclipse/downloads/drops4/R-4.31-202402290520/ Note: everything installed manually without Oomph or maven or any other tooling. I'm looking on clean SWT git state at a98c844 and see no API errors or warnings on |
Just close and reopen project. |
Thank you Andrey, for helping in reverting the removal and adding the filters!
Thanks for that as well, I as about to do that too.
This is a bit convoluted. Since the .settings folder from the parent-folder is linked into the fragment projects to share the settings between the fragments, I had to link the .settings/.api_filters again linking it to their real location. Otherwise the workspace didn't saw it :/. |
Close/open didn't work either, but deleting the project from the workspace (not the repository) and running the setup tasks to import the project again worked fine. Thank you! |
This reverts commit bd306ac.
Replacing SWTEventListener directly with java.util.EventListener breaks binary compatibility with bundles compiled against any older SWT version.