Skip to content

Commit

Permalink
fix: add missing --add-opens on java.base
Browse files Browse the repository at this point in the history
  • Loading branch information
notdryft committed Nov 13, 2024
1 parent 0b273bd commit 0dacf3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/cli/src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const runSimulation = async (options: RunSimulationOptions): Promise<void
const memoryArgs = options.memory !== undefined ? [`-Xms${options.memory}M`, `-Xmx${options.memory}M`] : [];
const javaArgs = [
...Object.entries(options.runParameters).map(([key, value]) => `-D${key}=${value}`),
"--add-opens=java.base/java.lang=ALL-UNNAMED",
`-Dgatling.js.bundle.filePath=${options.bundleFile}`,
`-Dgatling.js.simulation=${options.simulation}`,
...jitTuningArgs,
Expand Down

0 comments on commit 0dacf3b

Please sign in to comment.