Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace Socket, ServerSocket, and HttpServer usages in tests with mocksocket versions #22287
This is related to #22116. In order to remove SocketPermissions from core we need to isolate some code that can be given SocketPermissions. The mocksocket jar includes wrapped versions of Socket and SocketServer. This is one step towards migrating permissions out of core.
referenced this pull request
Dec 20, 2016
I made a few changes to this PR:
The mocksocket project is in MavenCentral. So once this passes an updated review, it should be good to merge in.