Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-3908

AAI PATCH throws exception in Java 17

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • London Release
    • London Release
    • sli
    • None

      Prior to Java 17, AAI adaptor used Java reflection as a workaround to support the PATCH command which is not supported in standard Java libraries.  With java 17,  reflection can no longer be used in this way and an error is returned when we try to configure http connection for method PATCH.

      Instead of sending method PATCH, we must send method POST and send the following http header to override the method to use PATCH:

      X-HTTP-Method-Override : PATCH

            djtimoney Dan Timoney
            djtimoney Dan Timoney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: