Skip to content

Jackson3JsonPayloadConverter(JsonMapper) constructor not visible to javac — only present in META-INF/versions/17/ #2885

@gauravthadani

Description

@gauravthadani

Expected Behavior

new Jackson3JsonPayloadConverter(jsonMapper) compiles successfully in a Java 17+ project with Jackson 3 on the classpath, mirroring the runtime behavior where the JVM resolves the (JsonMapper) constructor.

Actual Behavior - javac in intelliJ throws error

Image

Additional info, going by https://openjdk.org/jeps/238

Image

Note: running with mvn/gradle is fine, only issue with javac

Steps to Reproduce the Problem

community channel has repro here - https://temporalio.slack.com/archives/CTT84KXK9/p1779205492424789?thread_ts=1778863514.305759&cid=CTT84KXK9

Specifications

  • Version:
  • Platform:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions