We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaf2166 commit c90b917Copy full SHA for c90b917
src/main/java/com/rabbitmq/stream/perf/StreamPerfTest.java
@@ -558,7 +558,11 @@ public StreamPerfTest(
558
PrintStream consoleOut,
559
PrintStream consoleErr,
560
AddressResolver addressResolver) {
561
- this.arguments = Arrays.copyOf(arguments, arguments.length);
+ if (arguments == null) {
562
+ this.arguments = new String[] {};
563
+ } else {
564
+ this.arguments = Arrays.copyOf(arguments, arguments.length);
565
+ }
566
if (consoleOut == null) {
567
consoleOut = System.out;
568
}
0 commit comments