spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

Prepare AOT resource hints for GraalVM changes

Open bclozel opened this issue 2 years ago • 1 comments

According to https://github.com/oracle/graal/issues/7354#issuecomment-1708924781 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 avatar Sep 29 '23 13:09 bclozel

  • related to #31162

sbrannen avatar Sep 30 '23 08:09 sbrannen