diff options
Diffstat (limited to 'src/share/sample/nio/server/Server.java')
-rw-r--r-- | src/share/sample/nio/server/Server.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/share/sample/nio/server/Server.java b/src/share/sample/nio/server/Server.java index f18fcc8f69..40d31cafd4 100644 --- a/src/share/sample/nio/server/Server.java +++ b/src/share/sample/nio/server/Server.java @@ -29,6 +29,15 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* + * This source code is provided to illustrate the usage of a given feature + * or technique and has been deliberately simplified. Additional steps + * required for a production-quality application, such as security checks, + * input validation and proper error handling, might not be present in + * this sample code. + */ + + import java.io.*; import java.net.*; import java.nio.channels.*; |