Bug 111698
Summary: | gcj fails to compile Interface within an interface | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Dennis Gregorovic <dgregor> | ||||||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 3.0 | CC: | vnasardinov | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i686 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2004-10-07 11:45:15 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Dennis Gregorovic
2003-12-08 22:19:19 UTC
Created attachment 96410 [details]
example interface with subinterface
Created attachment 96411 [details]
extends subinterface
Created attachment 96412 [details]
extends interface and references subinterface
05:10:38 dgregor@galileo example$ gcj *.java FooBar.java:1: Superinterface `Foo.Bar' of class `FooBar' not found. public final class FooBar implements Foo.Bar { ^ 1 error MyFoo.java:4: Superinterface `Foo' of class `MyFoo' not found. public class MyFoo implements Foo { ^ MyFoo.java:6: Type `Foo.Bar' not found in the declaration of the argument `bar' of method `addBar'. public void addBar(Foo.Bar bar) { ^ MyFoo.java:9: Type `Foo' not found in the declaration of the return type of method `copy'. public Foo copy() { ^ MyFoo.java:10: Type `Foo' not found in the declaration of the local variable `newFoo'. Foo newFoo = new MyFoo(); ^ MyFoo.java:12: Type `Bar' not found in the declaration of the local variable `bar'. Bar bar = (Bar) bars.next(); ^ 5 errors Just wanted to mention that attachment 96410 [details] basically has the same
structure as java.util.Map and java.util.Map.Entry, i.e.
Map.Entry is an inner interface of the Map interface.
This is already tracked upstream. |