8224549: Less Blocking Array Queues
Reviewed-by: bchristi, rhalade, rriggs, mschoene, robm
This commit is contained in:
parent
d7136cd430
commit
14c0c19539
@ -1161,6 +1161,10 @@ public class ObjectStreamClass implements Serializable {
|
|||||||
} catch (IllegalAccessException ex) {
|
} catch (IllegalAccessException ex) {
|
||||||
// should not occur, as access checks have been suppressed
|
// should not occur, as access checks have been suppressed
|
||||||
throw new InternalError(ex);
|
throw new InternalError(ex);
|
||||||
|
} catch (InstantiationError err) {
|
||||||
|
var ex = new InstantiationException();
|
||||||
|
ex.initCause(err);
|
||||||
|
throw ex;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user