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

Add jsonp for cases where jsonb is not in scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.7.6.GA, 1.7.6.CR1
    • None
    • team/eng
    • None

    Description

      Add `quarkus-jsonp` dependency for cases where `quarkus-jsonb` is not in scope.

      I hesitate to add only `org.glassfish:jakarta.json` as it's the needed dependency to fix the issue, but as I understand it `quarkus-jsonb` is the integration of this library inside Quarkus so I prefere to add it.

      Without it native image generation is not possible when an application didn't include `quarkus-jsonb` (I doubt the application even works) due to `com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.json.JsonObject`.

      Part of #12625 but not full fix as the issue references two problems.

      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: