src/jdk.jfr/share/classes/jdk/jfr/internal/instrument/SocketInputStreamInstrumentor.java
equal
deleted
inserted
replaced
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 } |