Re: All classes in jdk.internal.random are not serializable

2025-01-30 Thread Remi Forax
> From: "Glavo" > To: "core-libs-dev" > Sent: Thursday, January 30, 2025 4:22:00 PM > Subject: All classes in jdk.internal.random are not serializable > Hi, > My friend was migrating from Random to RandomGenerator, but he ran into a > roadblock

All classes in jdk.internal.random are not serializable

2025-01-30 Thread Glavo
Hi, My friend was migrating from Random to RandomGenerator, but he ran into a roadblock: Random is serializable, but those new implementations of RandomGenerator are not serializable. Was this an oversight or an evaluated decision? Is it possible to make them serializable? Glavo