Skip to content
Permalink
Browse files

8224909: Unlink Set of LinkedHashSets

Reviewed-by: prr, mschoene, rhalade, psadhukhan
  • Loading branch information
mrserb committed Aug 22, 2019
1 parent 3375411 commit 1236be7e4a668615ab8922144f48ebc4d81696be
Showing with 3 additions and 13 deletions.
  1. +3 −13 src/java.desktop/share/classes/java/beans/beancontext/BeanContextSupport.java
@@ -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 @@ public final void readChildren(ObjectInputStream ois) throws IOException, ClassN
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;

0 comments on commit 1236be7

Please sign in to comment.