This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/18175] New: Can't find default package with redundant package import
- From: "phil at mkdoc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 27 Oct 2004 12:06:18 -0000
- Subject: [Bug java/18175] New: Can't find default package with redundant package import
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following class will not compile with GCJ version 3.3.3 (cygwin special),
succeeds with Sun javac. The workaround is obvious, but not always easy with
other people's code.
$ gcj -classpath . -C Test.java
Test.java:3: error: Can't find default package `com.example'. Check the CLASSPAT
H environment variable and the access to the archives
1 error
-- Test.java
package com.example;
import com.example.*;
class Test {
}
-- End Test.java
--
Summary: Can't find default package with redundant package import
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: phil at mkdoc dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18175