jdk/src/share/classes/sun/nio/ch/DatagramChannelImpl.java
changeset 16734 da1901d79073
parent 16089 7cf1e2708454
child 16921 e70261f11307
equal deleted inserted replaced
16733:9267ec7004a1 16734:da1901d79073
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    30 import java.net.*;
    30 import java.net.*;
    31 import java.nio.ByteBuffer;
    31 import java.nio.ByteBuffer;
    32 import java.nio.channels.*;
    32 import java.nio.channels.*;
    33 import java.nio.channels.spi.*;
    33 import java.nio.channels.spi.*;
    34 import java.util.*;
    34 import java.util.*;
    35 import javax.tools.annotation.GenerateNativeHeader;
       
    36 import sun.net.ResourceManager;
    35 import sun.net.ResourceManager;
    37 
    36 
    38 /**
    37 /**
    39  * An implementation of DatagramChannels.
    38  * An implementation of DatagramChannels.
    40  */
    39  */
    41 
    40 
    42 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    43 @GenerateNativeHeader
       
    44 class DatagramChannelImpl
    41 class DatagramChannelImpl
    45     extends DatagramChannel
    42     extends DatagramChannel
    46     implements SelChImpl
    43     implements SelChImpl
    47 {
    44 {
    48 
    45