OpenJDK / jdk-updates / jdk11u
changeset 52552:8310eda6b74b
8224909: Unlink Set of LinkedHashSets
Reviewed-by: prr, mschoene, rhalade, psadhukhan
author | serb |
---|---|
date | Wed, 21 Aug 2019 18:07:29 -0700 |
parents | 4d19029b3245 |
children | 256d0dfba1b2 |
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 Tue Oct 08 10:26:17 2019 -0400 +++ 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 @@ -1030,18 +1030,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;