Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-1542

Add GraalVM 21.3 compatibility support for resource registration

XMLWordPrintable

      oracle/graal#3774 changed the signature of ignoreResources as follows:

      ```

      • public void ignoreResources(String pattern) {
        + public void ignoreResources(ConfigurationCondition condition, String pattern) {
        ```

      ~~This results in Quarkus throwing a `NoSuchMethodError` exception at the
      code generated by NativeImageAutoFeatureStep~~
      and deprecated the old API (see https://github.com/oracle/graal/pull/3803)

      This patch looks for the right method based on the GraalVM/Mandrel version.

      Closes: #20226

              Unassigned Unassigned
              probinso_jira Quarkus JIRA Bot (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: