[Bug java/18175] New: Can't find default package with redundant package import
phil at mkdoc dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 27 12:06:00 GMT 2004
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
More information about the Gcc-bugs
mailing list