Skip to content
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

Null-Analysis - The interface ... cannot be implemented more than once with different arguments ... #2158

Closed
jan-reidemeister-valantic opened this issue Mar 14, 2024 · 4 comments · Fixed by #2173
Assignees

Comments

@jan-reidemeister-valantic

Version: 2024-03 (4.31.0)
Build id: 20240307-1437

Import the attached Gradle project.
(in case the .settings are not picked up) Enable annotation-based null analysis using the jspecify annotations.

Incorrect error on DMessageHandlerRegistryImpl:

The interface MessageHandlerRegistry cannot be implemented more than once with different arguments: MessageHandlerRegistry<C,CharSequence,DIncomingMessageData> and MessageHandlerRegistry<C,CharSequence,DIncomingMessageData>.

Disabling the null analysis removes the error. Last working version was 2023-06.

sample.zip

@iloveeclipse
Copy link
Member

@stephan-herrmann : could you please check this one?

@stephan-herrmann stephan-herrmann self-assigned this Mar 14, 2024
@stephan-herrmann
Copy link
Contributor

I can reproduce the problem.

@stephan-herrmann
Copy link
Contributor

Last working version was 2023-06.

Also using ecj 4.29 (v20230814-2020, 3.35.0) it still passes.

@stephan-herrmann
Copy link
Contributor

Broken since #1413

stephan-herrmann added a commit to stephan-herrmann/eclipse.jdt.core that referenced this issue Mar 17, 2024
stephan-herrmann added a commit that referenced this issue Mar 24, 2024
…e with different arguments ... (#2173)

fixes #2158

+ Propagate late annotations also into parameterized supertypes
+ Additional fix ensuring proper interning in TypeSystem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants