From 470b744776b1dbf04449b368462c7ac8fd410998 Mon Sep 17 00:00:00 2001 From: jarebudev <23311805+jarebudev@users.noreply.github.com> Date: Wed, 26 Mar 2025 21:45:15 +0000 Subject: [PATCH 1/3] bumped to java 11, altered CI to target java 11 Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com> --- .github/workflows/pullrequest.yml | 4 ++-- README.md | 2 +- pom.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 4409f1523..8d202a6e5 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -13,7 +13,7 @@ jobs: build: - java: 17 profile: codequality - - java: 8 + - java: 11 profile: java8 name: with Java ${{ matrix.build.java }} runs-on: ${{ matrix.os}} @@ -21,7 +21,7 @@ jobs: - name: Check out the code uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 - - name: Set up JDK 8 + - name: Set up JDK 11 uses: actions/setup-java@b8ebb8ba1d9655f7f159c0a8b8135606ae11b5c9 with: java-version: ${{ matrix.build.java }} diff --git a/README.md b/README.md index 49d5562e0..5dbe0f686 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ ### Requirements -- Java 8+ (compiler target is 1.8) +- Java 11+ (compiler target is 11) Note that this library is intended to be used in server-side contexts and has not been evaluated for use on mobile devices. diff --git a/pom.xml b/pom.xml index 1ab82f468..5c938e29f 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ [17,) UTF-8 - 1.8 + 11 ${maven.compiler.source} 5.12.1 7.21.1 @@ -20,7 +20,7 @@ ${project.groupId}.${project.artifactId} false - 8 + 11 OpenFeature Java SDK From 4b3d5a11327b54a8c0a10cb3d1e428e959f7e7f6 Mon Sep 17 00:00:00 2001 From: jarebudev <23311805+jarebudev@users.noreply.github.com> Date: Wed, 26 Mar 2025 22:22:19 +0000 Subject: [PATCH 2/3] changed profile and toolchain Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com> --- .github/workflows/pullrequest.yml | 2 +- pom.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index c14593a97..334d7323a 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -14,7 +14,7 @@ jobs: - java: 17 profile: codequality - java: 11 - profile: java8 + profile: java11 name: with Java ${{ matrix.build.java }} runs-on: ${{ matrix.os}} steps: diff --git a/pom.xml b/pom.xml index 870133523..5dec0be82 100644 --- a/pom.xml +++ b/pom.xml @@ -646,14 +646,14 @@ - - + + - java8 + java11 - (1.8,9) + (11) true From 53fbb2cc4ad7eecdb0713622ff05b771b23c2266 Mon Sep 17 00:00:00 2001 From: jarebudev <23311805+jarebudev@users.noreply.github.com> Date: Wed, 26 Mar 2025 22:33:23 +0000 Subject: [PATCH 3/3] corrected toolchain version Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5dec0be82..382f2508e 100644 --- a/pom.xml +++ b/pom.xml @@ -653,7 +653,7 @@ - (11) + [11,) true