提交 39a1668d 编写于 作者: S serb

8224909: Unlink Set of LinkedHashSets

Reviewed-by: prr, mschoene, rhalade, psadhukhan
上级 66172a20
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -1024,18 +1024,8 @@ public class BeanContextSupport extends BeanContextChildSupport ...@@ -1024,18 +1024,8 @@ public class BeanContextSupport extends BeanContextChildSupport
int count = serializable; int count = serializable;
while (count-- > 0) { while (count-- > 0) {
Object child = null; Object child = ois.readObject();
BeanContextSupport.BCSChild bscc = null; BCSChild bscc = (BCSChild) ois.readObject();
try {
child = ois.readObject();
bscc = (BeanContextSupport.BCSChild)ois.readObject();
} catch (IOException ioe) {
continue;
} catch (ClassNotFoundException cnfe) {
continue;
}
synchronized(child) { synchronized(child) {
BeanContextChild bcc = null; BeanContextChild bcc = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册