Skip to content

Commit f19af55

Browse files
committed
[devtools] Support JBR 25 (allow native access)
1 parent 93148c5 commit f19af55

File tree

1 file changed

+1
-0
lines changed
  • hot-reload-agent/src/main/kotlin/org/jetbrains/compose/reload/agent

1 file changed

+1
-0
lines changed

hot-reload-agent/src/main/kotlin/org/jetbrains/compose/reload/agent/devTools.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ private fun tryStartDevToolsProcess(): DevToolsHandle? {
4545
resolveDevtoolsJavaBinary(),
4646
*platformSpecificJvmArguments(),
4747
"-XX:+UseZGC", "-Xmx256M", "-XX:SoftMaxHeapSize=128M",
48+
"--enable-native-access=ALL-UNNAMED",
4849
"-cp", classpath.joinToString(File.pathSeparator),
4950
*subprocessSystemProperties(DevTools).toTypedArray(),
5051
*issueNewDebugSessionJvmArguments("DevTools"),

0 commit comments

Comments
 (0)