changeset 57687:114c4bc33596

8224909: Unlink Set of LinkedHashSets Reviewed-by: prr, mschoene, rhalade, psadhukhan
author serb
date Wed, 21 Aug 2019 18:07:29 -0700
parents 8afcea1a586e
children e5dff6472c29
files src/java.desktop/share/classes/java/beans/beancontext/BeanContextSupport.java
diffstat 1 files changed, 3 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/java/beans/beancontext/BeanContextSupport.java	Thu Aug 08 16:47:55 2019 +0100
+++ b/src/java.desktop/share/classes/java/beans/beancontext/BeanContextSupport.java	Wed Aug 21 18:07:29 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2014, 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
@@ -1032,18 +1032,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;