[java] Bump the JUnit version returned by JavaSdkUtil#getJunit3JarPath to 3.8.2

(cherry picked from commit 18189b0afcbc5e7693a5261252341df7752f1521)

IJ-CR-152633

GitOrigin-RevId: e4c9368badbd0aaeec6d792a333f260ec778c017
This commit is contained in:
Louis Vignier
2025-01-09 15:00:19 +01:00
committed by intellij-monorepo-bot
parent b23e654fee
commit 3d5f1427f3

View File

@@ -52,7 +52,7 @@ public final class JavaSdkUtil {
}
}
/// Returns the path for JUnit 3 jar, or the expected path to JUnit 3.8.1 location inside `.m2`.
/// Returns the path for JUnit 3 jar, or the expected path to JUnit 3.8.2 location inside `.m2`.
/// @deprecated JUnit 3 is not included in the IDEA distribution anymore
@Deprecated
public static @NotNull String getJunit3JarPath() {
@@ -61,7 +61,7 @@ public final class JavaSdkUtil {
}
catch (Exception e) {
//IDEA started from sources won't have JUnit3 library in classpath, so let's take it from Maven repository
return Path.of(SystemProperties.getUserHome(), ".m2/repository/junit/junit/3.8.1/junit-3.8.1.jar").toAbsolutePath().toString();
return Path.of(SystemProperties.getUserHome(), ".m2/repository/junit/junit/3.8.2/junit-3.8.2.jar").toAbsolutePath().toString();
}
}