Skip to content

Fix Repeatable Annotation Name Collision #291

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

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

SentryMan
Copy link
Collaborator

When using JDK 23+ module imports, the List type from java.base and io.avaje.jsonb have a name collision.

import module java.base;
import module io.avaje.jsonb;

public class Example {

  void main() {
    List.of(); // this fails to resolve the import
  }
}

@SentryMan SentryMan self-assigned this Nov 20, 2024
@SentryMan SentryMan added the bug Something isn't working label Nov 20, 2024
@SentryMan SentryMan added this to the 2.4 milestone Nov 20, 2024
@SentryMan SentryMan enabled auto-merge (squash) November 20, 2024 16:41
@SentryMan SentryMan merged commit ecaf94c into avaje:main Nov 20, 2024
5 checks passed
@SentryMan SentryMan deleted the fix-module-import-clash branch November 20, 2024 18:41
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