mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8224541: Better mapping of serial ENUMs
Reviewed-by: mschoene, rhalade, robm, rriggs, smarks
This commit is contained in:
parent
e4f4e8eda1
commit
d7136cd430
2 changed files with 14 additions and 1 deletions
|
@ -1858,6 +1858,8 @@ public class ObjectInputStream
|
|||
break;
|
||||
case TC_REFERENCE:
|
||||
descriptor = (ObjectStreamClass) readHandle(unshared);
|
||||
// Should only reference initialized class descriptors
|
||||
descriptor.checkInitialized();
|
||||
break;
|
||||
case TC_PROXYCLASSDESC:
|
||||
descriptor = readProxyDesc(unshared);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue