bc-java
bc-java copied to clipboard
requires org.bouncycastle.util should probably be transitive
Hi,
I'm in the process of moving a project from classpath to modulepath. I got a compile error which boils down to CMSEnvelopedData public constructor taking a ContentInfo argument https://github.com/bcgit/bc-java/blob/36e75a9a26479420d44008cefd28de2f2db083c3/pkix/src/main/java/org/bouncycastle/cms/CMSEnvelopedData.java#L68 which implies readability on the org.bouncycastle.util module where ContentInfo resides and it should be expressed by including the transitive modifier: requires transitive org.bouncycastle.util