Skip to content

Commit d87dd12

Browse files
committed
further support for Virtual threads, issues 737
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
1 parent 034aaee commit d87dd12

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

logback-classic/src/test/java/ch/qos/logback/classic/util/EnvUtilTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ public void versionTest() {
2626

2727

2828

29-
3029
}

logback-core/src/main/java/ch/qos/logback/core/util/ExecutorServiceUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class ExecutorServiceUtil {
4545
private final ThreadFactory defaultFactory = makeThreadFactory();
4646

4747
/**
48-
* A thread factory which may be a virtual thread factory if available.
48+
* A thread factory which may be a virtual thread factory the JDK supports it.
4949
*
5050
* @return
5151
*/

logback-core/src/test/java/ch/qos/logback/core/util/EnvUtilTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ public void jdkVersion() {
3939
Assertions.assertEquals(9, EnvUtil.getJDKVersion("9EA"));
4040
Assertions.assertEquals(9, EnvUtil.getJDKVersion("9.0.1"));
4141
Assertions.assertEquals(18, EnvUtil.getJDKVersion("18.3+xx"));
42+
Assertions.assertEquals(21, EnvUtil.getJDKVersion("21.0.1"));
4243
}
4344

45+
46+
4447
@Test
4548
public void testJava1_4() {
4649
System.setProperty("java.version", "1.4.xx");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy