There is probably a mistake in WorkerOptions where VirtualThreadsOnWorkflowWorker returns state of VirtualThreadsOnActivityWorker.
I would expect that it returns state of VirtualThreadsOnWorkflowWorker.
@Experimental
public boolean isUsingVirtualThreadsOnWorkflowWorker() {
return usingVirtualThreadsOnActivityWorker;
}