Skip to content

wrap-java: malformed where clause for static methods on nested types of generic interfaces #783

@ktoso

Description

@ktoso

When wrap-java translates a static method whose declaring type is a nested type of a generic interface (e.g. java.util.Map.Entry.copyOf, or any static returning Map.Entry<K, V> from Map), the emitted where ObjectType == … clause omits the outer type's generic arguments. The result fails to compile.

This affects generating java.util.Map

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions