Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare AOT resource hints for GraalVM changes #31340

Closed
bclozel opened this issue Sep 29, 2023 · 1 comment
Closed

Prepare AOT resource hints for GraalVM changes #31340

bclozel opened this issue Sep 29, 2023 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Sep 29, 2023

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/**".

@bclozel bclozel added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement theme: aot An issue related to Ahead-of-time processing labels Sep 29, 2023
@bclozel bclozel added this to the 6.2.x milestone Sep 29, 2023
@bclozel bclozel self-assigned this Sep 29, 2023
@sbrannen
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants