提交 301826ab 编写于 作者: J Josh Soref

noinspection InfiniteLoopStatement

上级 004b2313
......@@ -79,6 +79,7 @@ public class UDPBroadcastThread extends Thread {
mcs.joinGroup(MULTICAST);
ready.signal();
//noinspection InfiniteLoopStatement
while(true) {
byte[] buf = new byte[2048];
DatagramPacket p = new DatagramPacket(buf,buf.length);
......
......@@ -4168,6 +4168,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
System.out.println("Creating artificial OutOfMemoryError situation");
List<Object> args = new ArrayList<Object>();
//noinspection InfiniteLoopStatement
while (true)
args.add(new byte[1024*1024]);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册