This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/10894] Valid import statements are rejected.
- From: "phil at mkdoc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2004 18:06:03 -0000
- Subject: [Bug java/10894] Valid import statements are rejected.
- References: <20030521034601.10894.jbrandmeyer@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From phil at mkdoc dot com 2004-12-22 18:06 -------
Also affects GCJ 3.3.3 (cygwin special). Can I suggest the summary is changed to
"Wildcard import statements not resolved", which seems more specific to me and
may avoid duplicate submissions.
This test case implements an interface, but the same applies extending an
abstract or concrete class, it's the import statement that is the problem:
-- WildcardImport.java
package com.example.bug;
import com.example.other.*;
public class WildcardImport implements Interfacer {
// Empty
}
-- Interfacer.java
package com.example.other;
public interface Interfacer {
// Empty
}
This is with commands like:
gcj -C -d /build @gcj-src.txt
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |phil at mkdoc dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10894