8276655: Use blessed modifier order in SCTP

Reviewed-by: alanb, dfuchs
This commit is contained in:
Magnus Ihse Bursie 2021-11-04 19:44:05 +00:00
parent 2b5a32c73f
commit 81203efe41
2 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2021, 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
@ -35,11 +35,11 @@ public class AssociationChange extends AssociationChangeNotification
implements SctpNotification
{
/* static final ints so that they can be referenced from native */
@Native private final static int SCTP_COMM_UP = 1;
@Native private final static int SCTP_COMM_LOST = 2;
@Native private final static int SCTP_RESTART = 3;
@Native private final static int SCTP_SHUTDOWN = 4;
@Native private final static int SCTP_CANT_START = 5;
@Native private static final int SCTP_COMM_UP = 1;
@Native private static final int SCTP_COMM_LOST = 2;
@Native private static final int SCTP_RESTART = 3;
@Native private static final int SCTP_SHUTDOWN = 4;
@Native private static final int SCTP_CANT_START = 5;
private Association association;

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2021, 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
@ -36,12 +36,12 @@ public class PeerAddrChange extends PeerAddressChangeNotification
implements SctpNotification
{
/* static final ints so that they can be referenced from native */
@Native private final static int SCTP_ADDR_AVAILABLE = 1;
@Native private final static int SCTP_ADDR_UNREACHABLE = 2;
@Native private final static int SCTP_ADDR_REMOVED = 3;
@Native private final static int SCTP_ADDR_ADDED = 4;
@Native private final static int SCTP_ADDR_MADE_PRIM = 5;
@Native private final static int SCTP_ADDR_CONFIRMED =6;
@Native private static final int SCTP_ADDR_AVAILABLE = 1;
@Native private static final int SCTP_ADDR_UNREACHABLE = 2;
@Native private static final int SCTP_ADDR_REMOVED = 3;
@Native private static final int SCTP_ADDR_ADDED = 4;
@Native private static final int SCTP_ADDR_MADE_PRIM = 5;
@Native private static final int SCTP_ADDR_CONFIRMED =6;
private Association association;