Bug 577024 - FindSupport.find(URL) doesn't find file if there are arguments in the URL.
Summary: FindSupport.find(URL) doesn't find file if there are arguments in the URL.
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.21   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-03 03:45 EDT by Fredrik Ahlström CLA
Modified: 2021-11-03 03:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrik Ahlström CLA 2021-11-03 03:45:49 EDT
Today find(URL) in org.eclipse.core.internal.runtime.FindSupport on row 287 uses getFile() to get the filename to search for, which means that arguments in the URL are included in the String, which result in that the file is not found.

It should use getPath() instead to get the actual path to the file.