src/jdk.jfr/share/classes/jdk/jfr/internal/instrument/SocketInputStreamInstrumentor.java
branchniosocketimpl-branch
changeset 57168 4c38eb7c3c83
parent 57164 ed6f6950c757
child 57268 adcdd45830a0
equal deleted inserted replaced
57166:b3e971413a7b 57168:4c38eb7c3c83
    26 package jdk.jfr.internal.instrument;
    26 package jdk.jfr.internal.instrument;
    27 
    27 
    28 import java.io.IOException;
    28 import java.io.IOException;
    29 import java.net.InetAddress;
    29 import java.net.InetAddress;
    30 import java.net.Socket;
    30 import java.net.Socket;
    31 import java.net.SocketException;
       
    32 
    31 
    33 import jdk.jfr.events.SocketReadEvent;
    32 import jdk.jfr.events.SocketReadEvent;
    34 
    33 
    35 /**
    34 /**
    36  * See {@link JITracer} for an explanation of this code.
    35  * See {@link JITracer} for an explanation of this code.
    71             }
    70             }
    72         }
    71         }
    73         return bytesRead;
    72         return bytesRead;
    74     }
    73     }
    75 
    74 
       
    75     // private field in java.net.Socket$SocketInputStream
    76     private Socket parent;
    76     private Socket parent;
    77 
       
    78     InetAddress getInetAddress() {
       
    79         throw new RuntimeException();
       
    80     }
       
    81 
       
    82     int getPort() {
       
    83         throw new RuntimeException();
       
    84     }
       
    85 
       
    86     int getSoTimeout() throws SocketException {
       
    87         throw new RuntimeException();
       
    88     }
       
    89 }
    77 }