Skip to content

ProfilerPresets.getMainClass() - local file access for remote application #331

@thurka

Description

@thurka

Describe the bug
In case of remote application started with java -jar command, ProfilerPresets.getMainClass() is trying to access file on local file system, while the actual file path is computed from information from the remote application.

There are two problems with this code:

  1. if the local file does not exist - the method is unreasonably slow
  2. if the local file exist - results can be confusing. The returned main class can be different from actual one of the remote application.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions