Skip to content

[GR-67556][Native Image] Preserve module-qualified resource bundles in Native Image metadata#13195

Open
oleksii-tumanov wants to merge 2 commits intooracle:masterfrom
oleksii-tumanov:gr-67556-resource-bundle-module
Open

[GR-67556][Native Image] Preserve module-qualified resource bundles in Native Image metadata#13195
oleksii-tumanov wants to merge 2 commits intooracle:masterfrom
oleksii-tumanov:gr-67556-resource-bundle-module

Conversation

@oleksii-tumanov
Copy link
Copy Markdown
Member

@oleksii-tumanov oleksii-tumanov commented Mar 24, 2026

Fixes #13194

Summary

Implements the GR-67556 TODOs for module-aware resource bundle handling in Native Image.

What changed

  • preserve the optional 'module' qualifier in resource bundle metadata
  • keep bundles with the same base name but different modules distinct
  • make runtime registration and lookup with module
  • use "bundle Identifier" record instead of plain String as a key

Validation

  • mx build
  • mx unittest ResourceConfigurationTest

Tested new and old approach (with module and without). Both work.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 24, 2026
@oleksii-tumanov oleksii-tumanov marked this pull request as ready for review March 24, 2026 05:05
@oleksii-tumanov oleksii-tumanov force-pushed the gr-67556-resource-bundle-module branch 2 times, most recently from ab14324 to 5698685 Compare March 24, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GR-67556][Native Image] Resource bundle metadata loses module qualifiers

1 participant