()
| 1168 | createAndStartServer(); |
| 1169 | new Thread() { |
| 1170 | @Override |
| 1171 | public void run() { |
| 1172 | synchronized (lock) { |
| 1173 | try { |
| 1174 | barrier.await(); |
| 1175 | } catch (Exception ex) { |
| 1176 | throw new AssertionError(ex); |
| 1177 | } |
| 1178 | // To deadlock, a lock would be needed for this call to proceed. |
| 1179 | transportServer.listener.serverShutdown(); |
| 1180 | } |
| 1181 | } |
| 1182 | }.start(); |
| 1183 | server.shutdown(); |
| 1184 | } |
nothing calls this directly
no test coverage detected