Skip to content

Commit 8759418

Browse files
committed
JDK 16 contains the fix
1 parent 908999b commit 8759418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ private static void cleanUpGlobalClassValue(@NonNull ClassLoader loader) throws
13631363
private static void cleanUpClassInfoCache(Class<?> clazz) {
13641364
JavaSpecificationVersion current = JavaSpecificationVersion.forCurrentJVM();
13651365
if (current.isNewerThan(new JavaSpecificationVersion("1.8"))
1366-
&& current.isOlderThan(new JavaSpecificationVersion("17"))) {
1366+
&& current.isOlderThan(new JavaSpecificationVersion("16"))) {
13671367
try {
13681368
// TODO Work around JDK-8231454.
13691369
Class<?> classInfoC = Class.forName("com.sun.beans.introspect.ClassInfo");

0 commit comments

Comments
 (0)