Skip to content

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