Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-185

Remove duplicate BouncyCastle packaging

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 4.0.8, 3.1.6
    • None
    • Karaf
    • None

      Our current packaging results in BC jars being packaged twice:

      1. in lib/{boot,ext}, where they are available to karaf bootstrap, which uses them to add the crypto provider
      2. in system/, where they are referenced via startup.properties, which populates their contents to the OSGi world

      This is less than optimal, as the classes end up being loaded twice, where we really should be exposing BC packages from lib/boot through system.bundle's exports.

      That way we have exactly one copy, that in the boot class loader, and have its packages re-exported to the OSGi world.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: