Red Hat Bugzilla – Bug 158776
ecj needs to put endorsed dirs on the target bootclasspath
Last modified: 2007-11-30 17:11:06 EST
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):
Steps to Reproduce:
1.Put something in gcj's endorsed dir
2.Try to compile something that uses it
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.
(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
Sounds good to me. Is that how Sun's javac works?
Yes. I've filed this upstream and added a reference here.
This is fixed now that Eclipse 3.2 is in Rawhide.