Bug 27985

Summary: gcj fails dependant on compiler order
Product: gcc Reporter: cagney
Component: javaAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: gcc-bugs, java-prs
Priority: P3    
Version: 4.1.0   
Target Milestone: 4.3.0   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed:
Bug Depends on: 28067    
Bug Blocks:    
Attachments: source code for compile

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.