From 8115878b3367d8253ba282293e9814522e59a7c4 Mon Sep 17 00:00:00 2001 From: SOBUE Sho Date: Sun, 17 Dec 2023 21:55:06 +0900 Subject: [PATCH] Java 21 --- .circleci/config.yml | 9 +++++---- pom.xml | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a9e07a..d6baf5c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,16 +5,17 @@ orbs: maven: circleci/maven@1.4.1 executors: - openjdk17: + openjdk21: docker: # https://circleci.com/developer/ja/images/image/cimg/openjdk - - image: cimg/openjdk:17.0 + - image: cimg/openjdk:21.0 jobs: native-test: resource_class: large docker: - - image: ghcr.io/graalvm/graalvm-ce:22.3.1 + # https://www.graalvm.org/latest/docs/getting-started/container-images/ + - image: ghcr.io/graalvm/jdk-community:21 steps: - checkout - restore_cache: @@ -39,6 +40,6 @@ workflows: jobs: - maven/test: name: test - executor: openjdk17 + executor: openjdk21 command: 'verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar' - native-test diff --git a/pom.xml b/pom.xml index df6d494..7d9d34c 100644 --- a/pom.xml +++ b/pom.xml @@ -45,8 +45,7 @@ - 17 - 2.2 + 21 ssobue_markdown-slide ssobue @@ -130,7 +129,8 @@ native-maven-plugin - -Xmx4046m + -Xms4096m + -Xmx4096m