jdk/src/share/classes/sun/nio/ch/sctp/SctpStdSocketOption.java
changeset 12317 9670c1610c53
parent 11823 ee83ae88512d
child 14342 8435a30053c1
equal deleted inserted replaced
12316:ba6b7a51e226 12317:9670c1610c53
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 package sun.nio.ch.sctp;
    25 package sun.nio.ch.sctp;
    26 
    26 
    27 import com.sun.nio.sctp.SctpSocketOption;
    27 import com.sun.nio.sctp.SctpSocketOption;
       
    28 import javax.tools.annotation.GenerateNativeHeader;
    28 
    29 
       
    30 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    31 @GenerateNativeHeader
    29 public class SctpStdSocketOption<T>
    32 public class SctpStdSocketOption<T>
    30     implements SctpSocketOption<T>
    33     implements SctpSocketOption<T>
    31 {
    34 {
    32     /* for native mapping of int options */
    35     /* for native mapping of int options */
    33     public static final int SCTP_DISABLE_FRAGMENTS = 1;
    36     public static final int SCTP_DISABLE_FRAGMENTS = 1;