Closed mkristian closed 8 years ago
so this seems as the issue you were afraid of since we avoided a hard dependency on jar-dependencies ? ... BC seems on the class-path twice - so if you feel like this falls all under there I have nothing against forcing a "hard" jar-dependencies gem dependency once again.
in the long run I would appreciate this "hard" jar-dependencies dependency
add more such issues especially in combination with fast-rsa-engine gem which also has a dependency on ONE of the BC jars
I have a runnable jar (created by jruby-gradle plugin) when it gets executed it produces
the jar-bootstrap.rb files (which gets executed by the java main):
uncommenting any single of the require will fix the problem.
following jars get loaded by jruby-classloader
which shows that the bouncy castle jars is loaded twice. any of these uncommented require from above will ensure that the bouncy castle jars are loaded only once, as they implicitly require jar-dependencies which ensures that those jars are loaded only once.
tried to reduce the application but did not succeed.