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

Add GraalVM 21.3 compatibility support for resource registration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.2.5.GA, 2.2.5.CR2
    • None
    • team/eng
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: