Skip to content

Wrong IDE platform prefix #1525

Closed
Closed
@Undin

Description

@Undin

What happened?

Starting with 2023.3.2 IDE launched by RunIdeBase task has the wrong platform prefix, it's always JetBrainsClient.
It happens because this code finds -Didea.platform.prefix=JetBrainsClient param in bin/jetbrains_client.sh file of IDE artifact and it considers JetBrainsClient as IDE platform prefix.

As a result, any checks based on platform prefix, for example, all checks in com.intellij.util.PlatformUtils, work unexpectedly for such IDE instances.

Relevant log output or stack trace

No response

Steps to reproduce

Add val platformPrefix = PlatformUtils.getPlatformPrefix() anywhere using 2023.3.2 IDE builds and check value

Gradle IntelliJ Plugin version

1.16.1

Gradle version

8.5

Operating System

macOS

Link to build, i.e. failing GitHub Action job

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions