From ab15ea6dca88552972d57d2244ee2f7c948fc9ff Mon Sep 17 00:00:00 2001 From: Bruno Lellis Date: Sun, 1 Oct 2023 22:21:34 -0300 Subject: [PATCH] fixes @RunOnVirtualThreads typo (cherry picked from commit a5ce58171ff196b7b1f2acb795484aeaf48bd164) --- docs/src/main/asciidoc/virtual-threads.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/virtual-threads.adoc b/docs/src/main/asciidoc/virtual-threads.adoc index 4a91227dc9e5a..70c52f51ef15d 100644 --- a/docs/src/main/asciidoc/virtual-threads.adoc +++ b/docs/src/main/asciidoc/virtual-threads.adoc @@ -375,7 +375,7 @@ mvn package === Using a local GraalVM installation -To compile a Quarkus applications leveraging `@RunOnVirtualThreads` into native executable, you must be sure to use a GraalVM / Mandrel `native-image` supporting virtual threads, so providing at least Java 19+. +To compile a Quarkus applications leveraging `@RunOnVirtualThread` into native executable, you must be sure to use a GraalVM / Mandrel `native-image` supporting virtual threads, so providing at least Java 19+. Then, until Java 21, you need to add the following property to your `application.properties` file: @@ -465,4 +465,4 @@ quarkus.virtual-threads.name-prefix= == Additional references -- https://dl.acm.org/doi/10.1145/3583678.3596895[Considerations for integrating virtual threads in a Java framework: a Quarkus example in a resource-constrained environment] \ No newline at end of file +- https://dl.acm.org/doi/10.1145/3583678.3596895[Considerations for integrating virtual threads in a Java framework: a Quarkus example in a resource-constrained environment]