You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into an issue where it does not seem to be possible to instrument quasar-comsat classes ahead-of-time via a Maven Ant Task (as described in docs.paralleluniverse.co/quasar). Quasar Fibers log an instrumentation error and point to classes in quasar-comsat package.
General setup of my project:
using quasar-core
using quasar-comsat (in particular FiberHttpClientBuilder that wraps Apache Async Http client)
my project's code instantiates FiberHttpClientBuilder (note: all applicable methods are marked @Suspendable)
It works when using a Java Agent, but fails with AOT Ant Task because quasar-comsat classes are in a jar and not in the class build directory. Unfortunately my project is constrained and not able to use Java Agents.
Is there a way to make it work with AOT? One alternative (although a bit hacky) solution came to mind of including quasar-comsat classes directly within the code base (I only need a handful) and hence bypassing the quasar-comsat dependency all together?
The text was updated successfully, but these errors were encountered:
I agree but please consider that several Comsat modules also require
instrumenting some methods in the 3rd-party libraries they integrate; this
means that, if you can't use the agent at all, oftentimes having just
Comsat AOT-instrumented is not going to help you anyway (unless of course
you create and use your own AOT-instrumented builds of those 3rd-party
libs).
I'm running into an issue where it does not seem to be possible to instrument quasar-comsat classes ahead-of-time via a Maven Ant Task (as described in docs.paralleluniverse.co/quasar). Quasar Fibers log an instrumentation error and point to classes in quasar-comsat package.
General setup of my project:
It works when using a Java Agent, but fails with AOT Ant Task because quasar-comsat classes are in a jar and not in the class build directory. Unfortunately my project is constrained and not able to use Java Agents.
Is there a way to make it work with AOT? One alternative (although a bit hacky) solution came to mind of including quasar-comsat classes directly within the code base (I only need a handful) and hence bypassing the quasar-comsat dependency all together?
The text was updated successfully, but these errors were encountered: