Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 432944 - Add a findResource function to SWT
Summary: Add a findResource function to SWT
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: WebkitJsExecSami
  Show dependency tree
 
Reported: 2014-04-16 11:44 EDT by Sami Wagiaalla CLA
Modified: 2017-12-07 12:50 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Wagiaalla CLA 2014-04-16 11:44:54 EDT
loadLibrary in org.eclipse.swt.internal.Library able to locate shared libraries because osgi class loaders overload the load function to provide resource location services. Otherwise a path is specified through java.library.path.

For loading the the SWT WebKit extension which will be created to support execution of custom JavaScript (Bug 430538) a path is needs to be passed to WebKit. So a function which follows the search path of loadLibrary and returns a path the library is needed.

The patch proposed here: https://git.eclipse.org/r/#/c/25157/ adds this function.
Comment 1 Alexander Kurtakov CLA 2016-07-01 03:25:57 EDT
Make it Block the main bug for accountability. Whether this would be applied depends on the path taken for js execution.
Comment 2 Alexander Kurtakov CLA 2016-09-08 07:57:54 EDT
Another path was taken.