Skip to content

Commit c45a104

Browse files
author
David R. MacIver
committed
yet more confusion
1 parent 88809df commit c45a104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/com/rabbitmq/client/test/CloseInMainLoop.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public boolean hadValidShutdown(){
1818
}
1919

2020
public SpecialConnection() throws Exception{
21-
super(new ConnectionParameters(), new SocketFrameHandler(SocketFactory.getDefault(), "localhost", 5672));
21+
super(new ConnectionParameters(), new SocketFrameHandler(SocketFactory.getDefault().createSocket("localhost", 5672)));
2222
this.start(true);
2323
}
2424

0 commit comments

Comments
 (0)