-
Bug
-
Resolution: Fixed
-
P5
-
8, 11, 17, 21.0.3
-
b15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8340797 | 23.0.2 | Yagmur Eren | P5 | Resolved | Fixed | b01 |
JDK-8339739 | 21.0.6-oracle | Yagmur Eren | P5 | Resolved | Fixed | b01 |
JDK-8340782 | 21.0.6 | Goetz Lindenmaier | P5 | Resolved | Fixed | b01 |
JDK-8339775 | 17.0.14-oracle | Yagmur Eren | P5 | Resolved | Fixed | b01 |
JDK-8340780 | 17.0.14 | Goetz Lindenmaier | P5 | Resolved | Fixed | b01 |
JDK-8339777 | 11.0.26-oracle | Yagmur Eren | P5 | Resolved | Fixed | b01 |
JDK-8339904 | 8u441 | Yagmur Eren | P5 | Resolved | Fixed | b01 |
public void run() {
if ((vm.traceFlags & VirtualMachine.TRACE_SENDS) != 0) {
vm.printTrace("Target VM interface thread running");
}
Packet p=null,p2;
String idString;
while (shouldListen) {
boolean done = false;
try {
byte b[] = connection.readPacket();
if (b.length == 0) {
done = true;
}
p = Packet.fromByteArray(b);
} catch (IOException e) {
done = true;
}
The fix for the unintentional IOException is to add an else case if the readPacket() returns 0 length
- backported by
-
JDK-8339739 Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
-
- Resolved
-
-
JDK-8339775 Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
-
- Resolved
-
-
JDK-8339777 Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
-
- Resolved
-
-
JDK-8339904 Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
-
- Resolved
-
-
JDK-8340780 Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
-
- Resolved
-
-
JDK-8340782 Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
-
- Resolved
-
-
JDK-8340797 Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk17u-dev/668fd088
-
Commit(master) openjdk/jdk21u-dev/ead7e5f7
-
Commit(master) openjdk/jdk23u/7f9c4ab4
-
Commit(master) openjdk/jdk/2305d18e
-
Review(master) openjdk/jdk17u-dev/2881
-
Review(master) openjdk/jdk21u-dev/978
-
Review(master) openjdk/jdk23u/99
-
Review(master) openjdk/jdk/20815