-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is due to code after getImpl().connect(address, port); is not executed if it throws exception, leaving DatagramPacket in an inconsistant state. Re-arrange the order of code so that the state is now consistent. Bug: 31218085 Bug: 31495962 (cherry-picked from commit 6764aa32a4b66a3c589f4a00615a1e36d87f308f) Test: libcore.java.net.DatagramSocketTest Change-Id: Iab9bfd9af211666564e49de62fdae964d6330daf
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters