temporalio / temporalio/sdk-java

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

Open
#2,885 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
433
Forks
249
Avg merge
5d 6h
Merged PRs (30d)
26

Description

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:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Jackson3JsonPayloadConverter and inspect how its (JsonMapper) constructor is exposed in META-INF/versions/17/. Reproduce the Java 17+ javac failure using the community-channel example, then verify that direct construction compiles while the existing Maven/Gradle and runtime behavior remain working.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.