Java Modules (JPMs) discourage having packages where classes appear in different jars. It is a security risk to have the possibility of rogue jar including classes that hide classes in a well known jar.
cluster-typed and distributed-data share the package
- org.apache.pekko.cluster.ddata
- we may be ok as is because the cluster-typed packages are all grouped under
org.apache.pekko.cluster.ddata.typed and there are packages in distributed-data that appear under org.apache.pekko.cluster.ddata.typed or packages that are grouped under it
There may are more instances. This is just one that I spotted today.
Related: