This is the mail archive of the java@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]
Other format: [Raw text]

Package/Class Confusion on GCJ/Windows


Hi,

    I don't know exactly what causes this, but
I've persistently faced the following problem on
GCJ/Windows:

If there's a class and a package with the
same name, GCJ complains about "reading class FooBar
for the second time" where FooBar is the name
in question.

This happens consistently for me for the
java.awt.Color class (conflicting package java.awt.color)
and the java.awt.Event class (conflicting package
java.awt.event), etc. (That's how I noticed it
in the first place.)

The closest I got to finding the cause of this problem
was this thread:

http://gcc.gnu.org/ml/java/2002-03/msg00306.html

Any ideas on how to avoid this? Is it coming up becuase
one of my "kludges" (inspired by posts made by Robert
Collins and David Billinghurst) was to convert all file
names to lowercase before proceeding?

Thanks for your help in advance.

Sincerely Yours,
Ranjit Mathew
(rmathew_AT_hotmail_DOT_com)




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