changeset 13762:b76e1348c535

8224909: Unlink Set of LinkedHashSets Reviewed-by: prr, mschoene, rhalade, psadhukhan
author serb
date Wed, 21 Aug 2019 18:07:29 -0700
parents 5b5973c3db08
children d4e7f1627982
files src/share/classes/java/beans/beancontext/BeanContextSupport.java
diffstat 1 files changed, 3 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/beans/beancontext/BeanContextSupport.java	Mon Jan 06 06:55:53 2020 +0000
+++ b/src/share/classes/java/beans/beancontext/BeanContextSupport.java	Wed Aug 21 18:07:29 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * 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.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -1024,18 +1024,8 @@
         int count = serializable;
 
         while (count-- > 0) {
-            Object                      child = null;
-            BeanContextSupport.BCSChild bscc  = null;
-
-            try {
-                child = ois.readObject();
-                bscc  = (BeanContextSupport.BCSChild)ois.readObject();
-            } catch (IOException ioe) {
-                continue;
-            } catch (ClassNotFoundException cnfe) {
-                continue;
-            }
-
+            Object child = ois.readObject();
+            BCSChild bscc = (BCSChild) ois.readObject();
 
             synchronized(child) {
                 BeanContextChild bcc = null;