From 2705e226db1468caa86cde7bac62f3adc3cbe47f Mon Sep 17 00:00:00 2001 From: andrew Date: Sun, 5 Apr 2020 19:18:38 +0100 Subject: [PATCH] 8224549: Less Blocking Array Queues Reviewed-by: mbalao --- src/share/classes/java/io/ObjectStreamClass.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/share/classes/java/io/ObjectStreamClass.java b/src/share/classes/java/io/ObjectStreamClass.java index a002f9d94..64453b25a 100644 --- a/src/share/classes/java/io/ObjectStreamClass.java +++ b/src/share/classes/java/io/ObjectStreamClass.java @@ -1130,6 +1130,9 @@ public class ObjectStreamClass implements Serializable { } catch (IllegalAccessException ex) { // should not occur, as access checks have been suppressed throw new InternalError(ex); + } catch (InstantiationError err) { + throw (InstantiationException) + new InstantiationException().initCause(err); } } else { throw new UnsupportedOperationException(); -- GitLab