Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-1852

Upgrade netty to v4.1.58.Final and ensure default http testing module is java 11 friendly over ssl

Apply templateInsert Lucidchart DiagramXMLWordPrintable

    • Icon: Work Item Work Item
    • Resolution: Done
    • Icon: Minor Minor
    • 1.30.0, 1.29.2
    • None
    • None
    • All
    • GreenHopper Ranking:
      0|i1ywez:
    • 9223372036854775807
    • Small

      The netty shade in http testing module uses an old netty version not supporting java 11 (take care netty 5 alpha is "pre" most of the v4 now).

      What does this PR adds (design/code thoughts)?

      • It enables to disable unsafe usage on java 11 (-Dorg.talend.shade.io.netty.noUnsafe=true) and therefore avoid java >= 11 illegal access errors/warnings
      • It sets the system property to disable host name verification of java 11 http client (not always sufficient but best effort, worse case user has to set it in its system properties/pom)

            emmanuel_g emmanuel gallois
            emmanuel_g emmanuel gallois
            Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: