Skip to content

Prepare AOT resource hints for GraalVM changes #31340

Closed
@bclozel

Description

@bclozel

According to oracle/graal#7354 (comment) and other comments, we need to prepare for future changes in the resource-config.json format and apply them to our ResourceHints API.

First, the "exclude pattern" variant is going away as it breaks composeability of configs.

Also, the patterns themselves are going to be greatly simplified and won't support regexp patterns anymore. Currently our support outputs entries like

      {
        "pattern": "\\Qbanner.txt\\E"
      },

In the future, only "glob patterns" will be allowed, like "banner.txt", "images/*.jpg" or "images/**".

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions