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

Registering lambda context resolver results in ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.6.1.Final, 4.0.0.Beta5
    • 3.1.4.Final
    • jaxrs
      • Windows 10
      • Java(TM) SE Runtime Environment (build 1.8.0_77-b03)

      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();
      

              rnetuka@redhat.com Radovan Netuka
              marchev Martin Marchev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: