[lworld] Integrated: 8336028: [lworld] Serialization should throw exceptions for non-migrated value classes
Roger Riggs
rriggs at openjdk.org
Mon Jul 15 14:00:15 UTC 2024
On Tue, 9 Jul 2024 21:10:23 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> The java.base classes being migrated to value classes when using --enable-preview use a temporary adhoc unsafe mechanism to be serialized and deserialized. Only classes that are annotated with `jdk.internal.MigratedValueClass` can be serialized and deserialized. All other value classes can not be serialized or deserialized and the respective APIs throw exceptions. Subsequent Valhalla work will provide the missing support.
This pull request has now been integrated.
Changeset: e935bad9
Author: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/e935bad90148f11b64ed255fbfe4d0eb41345943
Stats: 25 lines in 5 files changed: 16 ins; 3 del; 6 mod
8336028: [lworld] Serialization should throw exceptions for non-migrated value classes
-------------
PR: https://git.openjdk.org/valhalla/pull/1164
More information about the valhalla-dev
mailing list