Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319616 - [Solaris] Remove dependency on JAVA_PROFILER_HOME
Summary: [Solaris] Remove dependency on JAVA_PROFILER_HOME
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Solaris
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Mike Reid CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 13:26 EDT by Mike Reid CLA
Modified: 2016-05-05 11:00 EDT (History)
1 user (show)

See Also:


Attachments
Enable -agentpath for Solaris (9.83 KB, patch)
2010-07-12 13:47 EDT, Mike Reid CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Reid CLA 2010-07-12 13:26:03 EDT
This bug is to port the work of bug 241984 to Solaris. This will allow the Solaris platform to launch the Java profiler using the -agentpath switch; absolving the need to configure environment variables.
Comment 1 Mike Reid CLA 2010-07-12 13:47:55 EDT
Created attachment 174073 [details]
Enable -agentpath for Solaris

The attached patch implements this on Solaris. Solaris has functionality equivalent to the Linux -rpath $ORIGIN flag and so the main components of this patch are:

1. Implement GetDefaultLibPath to determine the location where libJPIBootLoader.so was loaded from
2. Update the Solaris build defs to utilize the appropriate options to link with 'rpath $ORIGIN'.

Comments welcome.
Comment 2 Mike Reid CLA 2010-07-12 16:34:49 EDT
Patch checked into HEAD.
Comment 3 Mike Reid CLA 2010-07-23 17:10:36 EDT
Obsoleted patch in favour of all-inclusive patch: 
https://bugs.eclipse.org/bugs/attachment.cgi?id=175108

This is only provided for archival purposes, as it is easier to apply this to 4.7.0 rather than cherry-picking all the individual commits.
Comment 4 Kathy Chan CLA 2011-02-11 13:45:35 EST
This defect had been resolved as FIXED for more than 1 month.  Please verify with the latest TPTP 4.7.2 driver.  If this defect is still left unverified by February 25, we'll close it on the originator's behalf.

TPTP 4.7.2 driver can be downloaded from:

http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2
Comment 5 Mike Reid CLA 2011-04-04 11:01:53 EDT
Closing.