Skip to content

Requiring multiple non-interface namespaces from another component throws java.lang.ClassCastException #504

@eval-on-point

Description

@eval-on-point

Describe the bug
Requiring multiple non-interface namespaces from another component throws java.lang.ClassCastException.

To Reproduce
This example repository shows a minimal example workspace that reproduces the error with instructions.

Expected behavior
Instead of a stacktrace, I expect poly to give me multiple illegal dependency errors or otherwise not throw an error.

Additional context
Found while trying to reproduce the error described in this Slack thread. This error does not seem to appear on version 0.2.19.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions