8181597: Process Proxy presentation

Reviewed-by: dfuchs, ahgross, rhalade, skoivu
This commit is contained in:
Roger Riggs 2017-06-19 17:38:33 -04:00
parent 89b8d98d19
commit 74b07b599e

View File

@ -1770,6 +1770,10 @@ public class ObjectInputStream
passHandle = NULL_HANDLE;
int numIfaces = bin.readInt();
if (numIfaces > 65535) {
throw new InvalidObjectException("interface limit exceeded: "
+ numIfaces);
}
String[] ifaces = new String[numIfaces];
for (int i = 0; i < numIfaces; i++) {
ifaces[i] = bin.readUTF();