base project on jdk21 toolchain and runtime

This commit is contained in:
Jonathan Shook
2023-09-15 22:12:10 -05:00
parent 41f393c0f5
commit b9b33f1a9d
4 changed files with 28 additions and 26 deletions

View File

@@ -58,7 +58,7 @@ public class ScenarioController implements NBLabeledElement {
ActivitiesExceptionHandler exceptionHandler = new ActivitiesExceptionHandler(this);
IndexedThreadFactory indexedThreadFactory = new IndexedThreadFactory("ACTIVITY", exceptionHandler);
this.activitiesExecutor = Executors.newCachedThreadPool(indexedThreadFactory);
this.activitiesExecutor = Executors.newVirtualThreadPerTaskExecutor();
}
/**