Bug 158776 - ecj needs to put endorsed dirs on the target bootclasspath
ecj needs to put endorsed dirs on the target bootclasspath
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: java-1.4.2-gcj-compat (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Fitzsimmons
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-25 12:25 EDT by Anthony Green
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-26 13:49:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Eclipse Project 126419 None None None Never

  None (edit)
Description Anthony Green 2005-05-25 12:25:27 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0

Description of problem:
I have an RPM for tritonus which provides javax.sound.  This should really be part of libgcj one day, but in the meanwhile we can just stow it in gcj's endorsed dir.

Unfortunately the Eclipse compiler doesn't add gcj's endorsed dir to the target bootclasspath.  

One solution would be to patch Eclipse to put gnu.gcj.runtime.endorsed.dirs in the target bootclasspath.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Put something in gcj's endorsed dir
2.Try to compile something that uses it
3.
  

Additional info:
Comment 1 Thomas Fitzsimmons 2005-11-10 18:04:59 EST
Yes, we'll need to put the value of the system property "java.endorsed.dirs" on
ecj's bootclasspath; then you can put the tritonus jar in one of those directories.
Comment 2 Anthony Green 2006-02-03 16:42:56 EST
(In reply to comment #1)
> Yes, we'll need to put the value of the system property "java.endorsed.dirs" on
> ecj's bootclasspath; then you can put the tritonus jar in one of those
directories.
> 

Sounds good to me.  Is that how Sun's javac works?

AG
Comment 3 Thomas Fitzsimmons 2006-02-03 16:57:10 EST
Yes.  I've filed this upstream and added a reference here.
Comment 4 Thomas Fitzsimmons 2006-07-26 13:49:07 EDT
This is fixed now that Eclipse 3.2 is in Rawhide.

Note You need to log in before you can comment on or make changes to this bug.