Skip to content

Commit 36cbf1d

Browse files
jbachorikclaude
andcommitted
fix(test): remove duplicate -p flag after rebase onto develop
After rebasing onto develop (which added PR #805's btracePort field and conditional -p block), the unconditional -p inserted by PR #791 collides with the conditional block, producing two -p flags when a test sets btracePort. The btrace CLI rejects the duplicate and prints usage, causing ExtensionLifecycleIntegrationTest to fail on every JDK. Drop the unconditional pair from runBTraceDynamic so only the existing conditional block adds -p when btracePort > 0. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3dcea1b commit 36cbf1d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

integration-tests/src/test/java/tests/RuntimeTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,8 +1303,6 @@ private Process attach(
13031303
"-cp",
13041304
cp,
13051305
"org.openjdk.btrace.boot.Loader",
1306-
"-p",
1307-
String.valueOf(getBTracePort()),
13081306
"-cp",
13091307
eventsClassPath,
13101308
"-d",

0 commit comments

Comments
 (0)