You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
if the local file does not exist - the method is unreasonably slow
if the local file exist - results can be confusing. The returned main class can be different from actual one of the remote application.