Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1223

Avoid mandatory to java.sql module

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.0.Beta1, 1.4.22.Final
    • None
    • None
    • None

      When using Undertow as named Java 9 modules, there currently is a mandatory dependence to the java.sql module due to a specific log handler and exposure of SQLException in a few signatures of UndertowLogger. By not exposing that exception type, that dependence can be made optional (requires static java.sql in terms of the module descriptor), resulting in smaller sizes of modular runtime images containing Undertow, if the JDBC-based log handler isn't used.

              gunnar.morling Gunnar Morling
              gunnar.morling Gunnar Morling
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: