--- a/test/jdk/com/sun/nio/sctp/SctpChannel/CommUp.java Thu Nov 21 12:14:28 2019 +0000
+++ b/test/jdk/com/sun/nio/sctp/SctpChannel/CommUp.java Thu Nov 21 12:14:29 2019 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 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
@@ -191,6 +191,9 @@
}
} //for
+ try { sc.close(); }
+ catch (IOException ioe) { unexpected(ioe); }
+
} catch (IOException ioe) {
unexpected(ioe);
} catch (InterruptedException ie) {