From 1656f5ff9ae6fdaee31a8c5964e510d374031536 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Thu, 9 Jun 2022 11:10:50 +0300 Subject: [PATCH] Fix RuntimeSerialization#registerIncludingAssociatedClasses @since RuntimeSerialization#registerIncludingAssociatedClasses was introduced in GraalVM 21.3 by https://github.com/oracle/graal/pull/3050 --- .../org/graalvm/nativeimage/hosted/RuntimeSerialization.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/hosted/RuntimeSerialization.java b/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/hosted/RuntimeSerialization.java index 3ed20dda3fd6..bd85f51a8ca9 100644 --- a/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/hosted/RuntimeSerialization.java +++ b/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/hosted/RuntimeSerialization.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 @@ -70,7 +70,7 @@ public final class RuntimeSerialization { * specified class at runtime. * * @param clazz the serialization target class - * @since 23.0 + * @since 21.3 */ public static void registerIncludingAssociatedClasses(Class clazz) { ImageSingletons.lookup(RuntimeSerializationSupport.class).registerIncludingAssociatedClasses(ConfigurationCondition.alwaysTrue(), clazz);