public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* java/6818: "Can't find default package" when package has no classes
@ 2002-05-26 7:26 oskar
0 siblings, 0 replies; 3+ messages in thread
From: oskar @ 2002-05-26 7:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 6818
>Category: java
>Synopsis: "Can't find default package" when package has no classes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 26 07:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: oskar@osk.mine.nu
>Release: 3.1
>Organization:
>Environment:
Linux/x86
>Description:
gcj reports "Can't find default package `xxx'" when a package with no class files is imported. (I don't know what the point is in important a class-less package, but javac in Sun JDK 1.4 and jikes don't report this error.)
>How-To-Repeat:
Run
mkdir -p foo/bar
cat >foo/bar/Test.java <<_END_
package foo.bar;
import foo.*;
public class Test { }
_END_
gcj -C foo/bar/Test.java
The output is:
foo/bar/Test.java:2: Can't find default package `foo'. Check the CLASSPATH environment variable and the access to the archives.
1 error
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: java/6818: "Can't find default package" when package has no classes
@ 2003-05-13 6:22 steven
0 siblings, 0 replies; 3+ messages in thread
From: steven @ 2003-05-13 6:22 UTC (permalink / raw)
To: aph, gcc-bugs, gcc-prs, java-prs, nobody, oskar
Synopsis: "Can't find default package" when package has no classes
Responsible-Changed-From-To: unassigned->aph
Responsible-Changed-By: steven
Responsible-Changed-When: Tue May 13 06:22:38 2003
Responsible-Changed-Why:
Java PR -> Java maintainer
State-Changed-From-To: feedback->analyzed
State-Changed-By: steven
State-Changed-When: Tue May 13 06:22:38 2003
State-Changed-Why:
Confirmed
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6818
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: java/6818: "Can't find default package" when package has no classes
@ 2003-05-12 10:48 steven
0 siblings, 0 replies; 3+ messages in thread
From: steven @ 2003-05-12 10:48 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, java-prs, nobody, oskar
Synopsis: "Can't find default package" when package has no classes
State-Changed-From-To: open->feedback
State-Changed-By: steven
State-Changed-When: Mon May 12 10:48:03 2003
State-Changed-Why:
Old bug. Dara has asked for feedback.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6818
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-13 6:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-26 7:26 java/6818: "Can't find default package" when package has no classes oskar
2003-05-12 10:48 steven
2003-05-13 6:22 steven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).