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

The byte[] type of input parameter in proxy/MP-rest-client will cause large JVM stack used.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.CR1, 3.7.0.Final
    • 3.6.2.Final
    • jaxrs
      • JDK: sun jdk 1.8
      • Build tool: maven
      • Dependency libs: org.jboss.resteasy:resteasy-client:3.6.2.Final

      The byte[] type of input parameter in interface (both proxy and MP REST client) will cause large JVM stack used.

      • The attachment named 'resteasy-client-multiple-bytes-bug.zip' is the test code. Run the main class 'org.resteasy.App', it will get :
      • The main thread seems to be endless.
      • There seems to be so many nested org.jboss.resteasy.client.jaxrs.internal.ClientConfiguration in the main thread. You can add the breakpoint in the java file: org.jboss.resteasy.client.jaxrs.internal.ClientWebTarget, line35,
      this.client = client;
      

        1. jvm_thread_stack.png
          75 kB
          frankies frankies

              mmarusic Marek Marusic (Inactive)
              frankies1 frankies frankies (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: