Skip to content

Commit

Permalink
further support for Virtual threads, issues 737
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
  • Loading branch information
ceki committed Nov 26, 2023
1 parent 9a1fc44 commit f6d690d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ public void versionTest() {




}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class ExecutorServiceUtil {
private final ThreadFactory defaultFactory = makeThreadFactory();

/**
* A thread factory which may be a virtual thread factory if available.
* A thread factory which may be a virtual thread factory the JDK supports it.
*
* @return
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ public void jdkVersion() {
Assertions.assertEquals(9, EnvUtil.getJDKVersion("9EA"));
Assertions.assertEquals(9, EnvUtil.getJDKVersion("9.0.1"));
Assertions.assertEquals(18, EnvUtil.getJDKVersion("18.3+xx"));
Assertions.assertEquals(21, EnvUtil.getJDKVersion("21.0.1"));
}



@Test
public void testJava1_4() {
System.setProperty("java.version", "1.4.xx");
Expand Down

0 comments on commit f6d690d

Please sign in to comment.