JDK 8 now has a java.util.Base64 class for encoding and decoding, meaning that once you upgrade your baseline from Java 7 to Java 8, you can remove com.ongres.scram.common.bouncycastle.base64.Base64 and the other classes in that package. The removal can then be picked up by pgjdbc, which shades this class once again as org.postgresql.shaded.com.ongres.scram.common.bouncycastle.base64.Base64, etc.
Benefits:
Java 8 is a good baseline. You can profit from this in various ways, including availability of lambda expressions and default methods for yourselves
You can remove some of your outdated code
Pgjdbc will automatically remove some of their outdated code
Everyone will have less outdated bytecode in their dependencies
JDK 8 now has a
java.util.Base64
class for encoding and decoding, meaning that once you upgrade your baseline from Java 7 to Java 8, you can removecom.ongres.scram.common.bouncycastle.base64.Base64
and the other classes in that package. The removal can then be picked up by pgjdbc, which shades this class once again asorg.postgresql.shaded.com.ongres.scram.common.bouncycastle.base64.Base64
, etc.Benefits: