This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

java/1763: bad error report for failed `import'



>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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]