8224549: Less Blocking Array Queues

Reviewed-by: bchristi, rhalade, rriggs, mschoene, robm
This commit is contained in:
Stuart Marks 2020-01-21 16:53:01 -08:00
parent d7136cd430
commit 14c0c19539

View File

@ -1161,6 +1161,10 @@ public class ObjectStreamClass implements Serializable {
} catch (IllegalAccessException ex) {
// should not occur, as access checks have been suppressed
throw new InternalError(ex);
} catch (InstantiationError err) {
var ex = new InstantiationException();
ex.initCause(err);
throw ex;
}
} else {
throw new UnsupportedOperationException();