Skip to content

Commit 408e464

Browse files
jansupolsenivam
authored andcommitted
Better document virtual threads
Signed-off-by: jansupol <jan.supol@oracle.com>
1 parent af6c501 commit 408e464

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

core-common/src/main/java/org/glassfish/jersey/CommonProperties.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ public final class CommonProperties {
328328
* The default is {@link java.util.concurrent.Executors#defaultThreadFactory()} on platform threads and
329329
* {@code Thread.ofVirtual().factory()} on virtual threads.
330330
* </p>
331-
* @since 2.44
331+
* @since 3.1.7
332332
*/
333333
public static String THREAD_FACTORY = "jersey.config.threads.factory";
334334

@@ -338,9 +338,9 @@ public final class CommonProperties {
338338
* of threads by {@code FixedThreadPool}.
339339
* </p>
340340
* <p>
341-
* The default is {@code false} for this version of Jersey, and {@code true} for Jersey 3.1+.
341+
* The default is {@code false} for this version of Jersey.
342342
* </p>
343-
* @since 2.44
343+
* @since 3.1.7
344344
*/
345345
public static String USE_VIRTUAL_THREADS = "jersey.config.threads.use.virtual";
346346

docs/src/main/docbook/appendix-properties.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
</entry>
204204
</row>
205205
<row>
206-
<entry>&jersey.common.CommonProperties.THREAD_FACTORY;(Jersey 2.44 or later)
206+
<entry>&jersey.common.CommonProperties.THREAD_FACTORY;(Jersey 3.1.7 or later)
207207
</entry>
208208
<entry>
209209
<literal>jersey.config.threads.factory</literal>
@@ -220,7 +220,7 @@
220220
</entry>
221221
</row>
222222
<row>
223-
<entry>&jersey.common.CommonProperties.USE_VIRTUAL_THREADS;(Jersey 2.44 or later)
223+
<entry>&jersey.common.CommonProperties.USE_VIRTUAL_THREADS;(Jersey 3.1.7 or later)
224224
</entry>
225225
<entry>
226226
<literal>jersey.config.threads.use.virtual</literal>
@@ -231,7 +231,7 @@
231231
of threads by <literal>FixedThreadPool</literal>.
232232
</para>
233233
<para>
234-
The default is &lit.false; for this version of Jersey, and &lit.true; for Jersey 3.1+.
234+
The default is &lit.false; for this version of Jersey.
235235
</para>
236236
</entry>
237237
</row>

0 commit comments

Comments
 (0)