Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1725

Registering lambda context resolver results in ArrayIndexOutOfBoundsException

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.4.Final
    • Fix Version/s: 3.6.1.Final, 4.0.0.Beta5
    • Component/s: jaxrs
    • Labels:
    • Environment:
      • Windows 10
      • Java(TM) SE Runtime Environment (build 1.8.0_77-b03)

      Description

      The latest RESTEasy Client throws an ArrayIndexOutOfBoundsException if one tries to register a lambda context resolver. The same works just fine with the latest Jersey Client.

      Example:

      ClientBuilder.newBuilder()
          .register((ContextResolver<ObjectMapper>) type -> new ObjectMapper().registerModule(new JodaModule()))
          .build();
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rnetuka Radovan Netuka
                  Reporter:
                  marchev Martin Marchev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: