-
Hi, when you have dependencies in your <dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>1.71.1</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>1.71.1</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpg-jdk18on</artifactId>
<version>1.71.1</version>
</dependency> then you can download from Maven central not only the plain dependencies, but also the corresponding Javadoc and source jars. Eclipse IDE for example allows you to dive into the Bouncycastle code, shows you the Java source files when you open a certain class etc., but I cannot debug into the Bouncycastle code because the jars don't have debug information in them. Can someone tell me the reason for this? IMHO this is quite puzzling... |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
It's really about the size. -debug versions for the provider jars are available. The others can be built from the source as no JCE signing certificate is required. |
Beta Was this translation helpful? Give feedback.
-
I have just seen that obviously starting with Bouncycastle 1.73 there are lots of additional debug artifacts available on Maven Central. First of all, that's great news. A few questions though: What really is the difference between, say, bcpg-jdk18on-1.73.jar and bcpg-debug-jdk18on-1.73.jar? The corresponding source and javadoc jars are exactly the same, the main jars seem to contain exactly the same files but have a different size. The only point I see: What really is the rationale behind providing both a non-debug and a debug version of the libraries? When it comes to Maven Central, they also have different artifact Ids. |
Beta Was this translation helpful? Give feedback.
-
It is to some people, there's also the issue that some people are uncomfortable shipping files with full symbol table information. It's much harder to tinker with a class file if it's been minimized. |
Beta Was this translation helpful? Give feedback.
-
debug jars are now being distributed on Maven Central for both Java 5 to Java 8, and Java 8+. |
Beta Was this translation helpful? Give feedback.
debug jars are now being distributed on Maven Central for both Java 5 to Java 8, and Java 8+.