This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
java/1763: bad error report for failed `import'
- To: gcc-gnats at gcc dot gnu dot org
- Subject: java/1763: bad error report for failed `import'
- From: tromey at redhat dot com
- Date: 24 Jan 2001 21:22:34 -0000
- Reply-To: tromey at redhat dot com
>Number: 1763
>Category: java
>Synopsis: bad error report for failed `import'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 24 13:26:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Tom Tromey
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Consider this one-line .java file:
import java.security.KeyStore;
We currently don't implement this class.
If I try to compile this file I get:
creche. gcj --syntax-only imp.java
imp.java:1: Class or interface `java' not found in import.
import java.security.KeyStore;
I think the error message should mention `java.security.KeyStore',
not just `java'.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: