From 0bbc504cd6b42d968dbbebe906882b65d6034563 Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Wed, 11 Oct 2023 09:43:48 -0700 Subject: [PATCH] Add jdk21 to CI (#1122) --- .github/workflows/main.yml | 3 +-- .../com/fasterxml/jackson/core/util/JsonBufferRecyclers.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e97311439..fb11f382ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,8 +25,7 @@ jobs: strategy: fail-fast: false matrix: - # As of Jackson 2.14 got Java 8 baseline so can build on later JDKs too - java_version: ['8', '11', '17', '20'] + java_version: ['8', '11', '17', '21'] os: ['ubuntu-20.04'] env: JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1" diff --git a/src/main/java/com/fasterxml/jackson/core/util/JsonBufferRecyclers.java b/src/main/java/com/fasterxml/jackson/core/util/JsonBufferRecyclers.java index d364bc62b4..06311d960e 100644 --- a/src/main/java/com/fasterxml/jackson/core/util/JsonBufferRecyclers.java +++ b/src/main/java/com/fasterxml/jackson/core/util/JsonBufferRecyclers.java @@ -108,7 +108,7 @@ public static RecyclerPool newBoundedPool(int size) { */ /** - * {@link ThreadLocal}-based {@link RecyclerPool} implemenetation used for + * {@link ThreadLocal}-based {@link RecyclerPool} implementation used for * recycling {@link BufferRecycler} instances: * see {@link RecyclerPool.ThreadLocalPoolBase} for full explanation * of functioning.