sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

Support Java Modules

Open Quinn-With-Two-Ns opened this issue 1 year ago • 3 comments

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

Quinn-With-Two-Ns avatar Nov 21 '23 00:11 Quinn-With-Two-Ns

It is important fix to all Java developers , Currently we using shadow to repack the packages , It is important to get basic support of module-info

Riva2006 avatar Dec 18 '23 12:12 Riva2006