temporalio / temporalio/sdk-java

Support Java Modules

Open
#1,940 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.
Support Java Modules

Describe the solution you'd like
Every relevant library should publish a Automatic-Module-Name in the manifest or a module-info.java. Currently the Java SDK cannot be used as a named Java module since some of modules implement the same packages.

error: the unnamed module reads package io.temporal.internal.common from both temporal.sdk and temporal.serviceclient
error: the unnamed module reads package io.temporal.internal from both temporal.sdk and temporal.serviceclient

Java modules do not allow this, it is called a split package.

Describe alternatives you've considered
Don't support Jave modules

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 by inventorying the relevant Java SDK libraries and their manifests, then reproduce the reported split-package compiler errors. Review the options of adding Automatic-Module-Name entries or module-info.java; done means the SDK can be used as a named Java module without duplicate packages across temporal.sdk and temporal.serviceclient.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.