jdk/src/solaris/classes/java/net/PlainDatagramSocketImpl.java
changeset 10596 39b3a979e600
parent 5506 202f599c92aa
child 23879 284802a2d355
--- a/jdk/src/solaris/classes/java/net/PlainDatagramSocketImpl.java	Thu Sep 15 14:10:30 2011 +0100
+++ b/jdk/src/solaris/classes/java/net/PlainDatagramSocketImpl.java	Fri Sep 16 12:09:04 2011 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007,2011, 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
@@ -54,8 +54,10 @@
 
     protected native int getTimeToLive() throws IOException;
 
+    @Deprecated
     protected native void setTTL(byte ttl) throws IOException;
 
+    @Deprecated
     protected native byte getTTL() throws IOException;
 
     protected native void join(InetAddress inetaddr, NetworkInterface netIf)