Skip to content

[TrimmableTypeMap] Implement alias support in codegen and runtime #11103

@simonrozsival

Description

@simonrozsival

Summary

Implement trimmable typemap alias support end-to-end, covering both generated metadata/code and runtime lookup/activation.

Scope

  • generate alias entries and associations for duplicate JNI names
  • resolve alias entries in TrimmableTypeMap / TrimmableTypeMapTypeManager at runtime
  • add or update tests covering duplicate JNI mappings and alias activation

Context

This is the dedicated follow-up for the alias handling intentionally deferred during the current runtime-only rollout. The current implementation explicitly punts on typemap aliases and should be completed here.

Part of #10788.

Metadata

Metadata

Assignees

No one assigned

    Labels

    copilot`copilot-cli` or other AIs were used to author thisneeds-triageIssues that need to be assigned.trimmable-type-map

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions