jdk/src/solaris/classes/java/io/FileDescriptor.java
changeset 48 dc5744ca15ea
parent 2 90ce3da70b43
child 715 f16baef3a20e
equal deleted inserted replaced
47:c8f0e41aea68 48:dc5744ca15ea
   150                 }
   150                 }
   151 
   151 
   152                 public int get(FileDescriptor obj) {
   152                 public int get(FileDescriptor obj) {
   153                     return obj.fd;
   153                     return obj.fd;
   154                 }
   154                 }
       
   155 
       
   156                 public void setHandle(FileDescriptor obj, long handle) {
       
   157                     throw new UnsupportedOperationException();
       
   158                 }
       
   159 
       
   160                 public long getHandle(FileDescriptor obj) {
       
   161                     throw new UnsupportedOperationException();
       
   162                 }
   155             }
   163             }
   156         );
   164         );
   157     }
   165     }
   158 
   166 
   159     // pacakge private methods used by FIS,FOS and RAF
   167     // package private methods used by FIS, FOS and RAF
   160 
   168 
   161     int incrementAndGetUseCount() {
   169     int incrementAndGetUseCount() {
   162         return useCount.incrementAndGet();
   170         return useCount.incrementAndGet();
   163     }
   171     }
   164 
   172