Bug 27985 - gcj fails dependant on compiler order
gcj fails dependant on compiler order
Status: RESOLVED FIXED
Product: gcc
Classification: Unclassified
Component: java
4.1.0
: P3 normal
: 4.3.0
Assigned To: Not yet assigned to anyone
:
Depends on: 28067
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-10 18:52 UTC by cagney
Modified: 2007-01-09 20:48 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
source code for compile (10.00 KB, application/octet-stream)
2006-06-10 18:53 UTC, cagney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cagney 2006-06-10 18:52:21 UTC
It's got something to do with two occurances of the object "Action" in the attached test vis:

cagney@nettle$ gcj -d . -I . -C one/ExitNotificationObserver.java one/AddTaskObserverAction.java one/TaskAction.java one/ExitNotificationObserver.java: In class 'one.ExitNotificationObserver': one/ExitNotificationObserver.java: In constructor '()':
one/ExitNotificationObserver.java:18: error: Can't find method ‘dontSaveObject()’ in type ‘one.TaskAction’.
        myAction.dontSaveObject();
                   ^
1 error
cagney@nettle$ gcj -d . -I . -C  one/TaskAction.java one/ExitNotificationObserver.java one/AddTaskObserverAction.java
cagney@nettle$

attachment follows
Comment 1 cagney 2006-06-10 18:53:21 UTC
Created attachment 11649 [details]
source code for compile
Comment 2 Tom Tromey 2007-01-09 20:48:40 UTC
All gcj front end bugs have been fixed by the gcj-eclipse branch merge.
I'm mass-closing the affected PRs.
If you believe one of these was closed in error, please reopen it
with a note explaining why.
Thanks.