From 77caa60ded7ad274a04717659e9512c7fa149696 Mon Sep 17 00:00:00 2001 From: Claus Ibsen Date: Sun, 14 Apr 2024 16:12:05 +0200 Subject: [PATCH] Upgrade to jdk17 instead of jdk11 for some tests --- .../idea/CamelLightCodeInsightFixtureTestCaseIT.java | 2 +- .../cameltooling/idea/inspection/CamelInspectionTestHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-idea-plugin/src/test/java/com/github/cameltooling/idea/CamelLightCodeInsightFixtureTestCaseIT.java b/camel-idea-plugin/src/test/java/com/github/cameltooling/idea/CamelLightCodeInsightFixtureTestCaseIT.java index 090179d0..03803c67 100644 --- a/camel-idea-plugin/src/test/java/com/github/cameltooling/idea/CamelLightCodeInsightFixtureTestCaseIT.java +++ b/camel-idea-plugin/src/test/java/com/github/cameltooling/idea/CamelLightCodeInsightFixtureTestCaseIT.java @@ -161,7 +161,7 @@ protected LightProjectDescriptor getProjectDescriptor() { return new DefaultLightProjectDescriptor() { @Override public Sdk getSdk() { - return IdeaTestUtil.getMockJdk11(); + return IdeaTestUtil.getMockJdk17(); } @Override diff --git a/camel-idea-plugin/src/test/java/com/github/cameltooling/idea/inspection/CamelInspectionTestHelper.java b/camel-idea-plugin/src/test/java/com/github/cameltooling/idea/inspection/CamelInspectionTestHelper.java index 4fb8513f..ddab8182 100644 --- a/camel-idea-plugin/src/test/java/com/github/cameltooling/idea/inspection/CamelInspectionTestHelper.java +++ b/camel-idea-plugin/src/test/java/com/github/cameltooling/idea/inspection/CamelInspectionTestHelper.java @@ -35,7 +35,7 @@ protected LightProjectDescriptor getProjectDescriptor() { return new DefaultLightProjectDescriptor() { @Override public Sdk getSdk() { - return IdeaTestUtil.getMockJdk11(); + return IdeaTestUtil.getMockJdk17(); } @Override