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

Add-Opens java.base/java.lang breaks quarkus-groovy app native compilation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.NEXT
    • 3.27.0.GA
    • team/eng
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ---

      This change made in Quarkus 3.23.x broke native compilation for apps that use quarkus-groovy. It's used by camel-quarkus-groovy, which is a supported extension in RHBOAC. So it's a potential problem for the upcoming 3.27 LTS.

      More background to this issue can be found here:

      https://github.com/quarkiverse/quarkus-groovy/issues/256

      Also on Slack:

      https://redhat-internal.slack.com/archives/C06AHJ3MGVB/p1753695315208219

      I currently have a workaround in place that automatically adds --report-unsupported-elements-at-runtime. But as per this comment from sgehwolf@redhat.com, perhaps the original Add-Opens change could be reverted from Quarkus in the 3.x stream?

              cescoffi@redhat.com Clement Escoffier
              jnethert@redhat.com James Netherton
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: