mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
[java] native agents shouldn't be ignored blindly, instead it should be provided remote target compatible agent binary.
GitOrigin-RevId: 43661507e2e33d7cdf1bd38282d7d381ad49a0a2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
578d363e51
commit
d20b69d888
@@ -615,10 +615,6 @@ class JdkCommandLineSetup(private val request: TargetEnvironmentRequest) {
|
||||
val value = StringUtil.trimStart(vmParameter, prefix)
|
||||
val equalsSign = value.indexOf('=')
|
||||
val path = if (equalsSign > -1) value.substring(0, equalsSign) else value
|
||||
if (!path.endsWith(".jar")) {
|
||||
// ignore non-cross-platform agents
|
||||
return
|
||||
}
|
||||
val suffix = if (equalsSign > -1) value.substring(equalsSign) else ""
|
||||
commandLine.addParameter(
|
||||
TargetValue.map(requestUploadIntoTarget(JavaLanguageRuntimeTypeConstants.AGENTS_VOLUME, path, uploadPathIsFile = true)) { v: String ->
|
||||
|
||||
Reference in New Issue
Block a user