Skip to content
Permalink
Browse files
8276655: Use blessed modifier order in SCTP
Reviewed-by: alanb, dfuchs
  • Loading branch information
magicus committed Nov 4, 2021
1 parent 2b5a32c commit 81203efe411320ff4e390605f980d14e7f70252f
Showing 2 changed files with 13 additions and 13 deletions.
@@ -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;

@@ -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;

1 comment on commit 81203ef

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 81203ef Nov 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.