java-concurrent
java-concurrent copied to clipboard
Newly created spans should be activated
Newly created spans were created but not activated in TracedRunnable as tracer.activeSpan() is always null at that point.
My change is just doing it in same way as it's done in TracedExecutorService, where we are checking if there is a span to activate instead checking activated span.
Hi guys, can you review please? @objectiser objectiser @pavolloffay