Skip to content

Commit fcee646

Browse files
committedSep 6, 2024·
Updated HTTP server to completely use blocking IO and Java 21 virtual threads.
1 parent 3cc242b commit fcee646

File tree

69 files changed

+2942
-20992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2942
-20992
lines changed
 

‎.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/setup-java@v4
1818
with:
1919
distribution: 'temurin'
20-
java-version: 17
20+
java-version: 21
2121
- name: Install Savant Build
2222
run: |
2323
mkdir -p ~/dev/savant
@@ -28,7 +28,7 @@ jobs:
2828
ln -s savant-2.0.0-RC.7 current
2929
rm savant.tar.gz
3030
cat <<EOF > ~/.savant/plugins/org.savantbuild.plugin.java.properties
31-
17=${JAVA_HOME_17_X64}
31+
21=${JAVA_HOME_21_X64}
3232
EOF
3333
shell: bash
3434
- name: Run the build

‎build.savant

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jackson5Version = "3.0.1"
1717
restifyVersion = "4.2.1"
1818
testngVersion = "7.10.2"
1919

20-
project(group: "io.fusionauth", name: "java-http", version: "0.3.5", licenses: ["ApacheV2_0"]) {
20+
project(group: "io.fusionauth", name: "java-http", version: "0.4.0-RC.1", licenses: ["ApacheV2_0"]) {
2121
workflow {
2222
fetch {
2323
// Dependency resolution order:
@@ -61,9 +61,9 @@ idea = loadPlugin(id: "org.savantbuild.plugin:idea:2.0.0-RC.7")
6161
release = loadPlugin(id: "org.savantbuild.plugin:release-git:2.0.0-RC.6")
6262
pom = loadPlugin(id: "org.savantbuild.plugin:pom:2.0.0-RC.6")
6363

64-
java.settings.javaVersion = "17"
64+
java.settings.javaVersion = "21"
6565
java.settings.compilerArguments = "--add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.util=ALL-UNNAMED -XDignore.symbol.file"
66-
javaTestNG.settings.javaVersion = "17"
66+
javaTestNG.settings.javaVersion = "21"
6767
javaTestNG.settings.jvmArguments = "--add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.util=ALL-UNNAMED"
6868
javaTestNG.settings.testngArguments = "-listener io.fusionauth.http.BaseTest\$TestListener"
6969

0 commit comments

Comments
 (0)
Please sign in to comment.