Description of problem: Two files in the same directory, Test.java and TestImpl.java. The latter is a subclass of the former. $ ecj TestImpl.java ---------- 1. ERROR in TestImpl.java (at line 1) public class TestImpl extends Test ^^^^ Test cannot be resolved to a type whereas javac from OpenJDK will quite happily just compile away. Version-Release number of selected component (if applicable): 3.4.1-5.fc10.x86_64 How reproducible: Two Java source files as described above, and specify only the subclass file to ecj. Steps to Reproduce: 1. Write Test.java 2. Write TestImpl.java which extends the class in Test.java 3. Compile TestImpl.java only with ecj Actual results: Fails with error. Expected results: Compiles both source files. Additional info:
Did the wrapper change in the move from eclipse-ecj to ecj? Did it used to work?
This is with both the F10 eclipse-ecj package and the new ecj rawhide package. I haven't used anything prior to this on Fedora, so couldn't say whether they also exhibit this bug. The ecj in Debian (3.3.1) works as javac does, as does 3.4 on Gentoo.
(In reply to comment #2) > This is with both the F10 eclipse-ecj package and the new ecj rawhide package. > I haven't used anything prior to this on Fedora, so couldn't say whether they > also exhibit this bug. The ecj in Debian (3.3.1) works as javac does, as does > 3.4 on Gentoo. Okay, cool, so it's just a matter of seeing what their wrapper scripts do that ours don't. I'm really surprised this hasn't come up before.
Deepak, any news here?
It's on my plate. Just haven't been able to get to it due to other high priority issues. I'll look into it before the coming weekend.
This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.
Reopening.
ecj-3.4.2-7.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/ecj-3.4.2-7.fc12
ecj-3.4.2-5.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/ecj-3.4.2-5.fc11
Fixed in F11, F12 (updates submitted for stable) and rawhide.
ecj-3.4.2-5.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
ecj-3.4.2-7.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.