mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8233845: (sctp) Relax assertion in sun.nio.ch.sctp.AssociationChange::association
Reviewed-by: alanb
This commit is contained in:
parent
a8a2246158
commit
7eaf8be1c7
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009, 2013, 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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -93,7 +93,7 @@ public class AssociationChange extends AssociationChangeNotification
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Association association() {
|
public Association association() {
|
||||||
assert association != null;
|
assert event == AssocChangeEvent.CANT_START ? true : association != null;
|
||||||
return association;
|
return association;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue