Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6136

Shade conscrypt within the Dataflow legacy worker jar

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • runner-dataflow
    • None

    Description

      org.conscrypt:conscrypt-openjdk:1.1.3:linux-x86_64 relies on JNI which can't be shaded away since the C code doesn't support automatically figuring out its post relocation path (like tcnative can).

      There is support for building conscrypt with an additional prefix but this doesn't work well with shading since it requires every user who wants to shade to build their own copy.

      jniutil.cc relies on JNI_JARJAR_PREFIX https://github.com/google/conscrypt/blob/e3c1c99b3e0c56849cb7150bb95dc211b0ad058c/common/src/jni/main/cpp/conscrypt/jniutil.cc#L62

      Attachments

        Activity

          People

            Unassigned Unassigned
            lcwik Luke Cwik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: