This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: new kawa snapshot 1.6.90
Why can't you just import java.util.* AND com.sun.java.collections.*
and if you're using Java2 then you have an empty
com.sun.java.collections package.
Weiqi Gao wrote:
> Chris wrote:
>
>> The Java2 Collection classes are available for Java1. Therefore
>> I suggest you assume Java2, and if you've got Java1 - well you're
>> just going to have to download the Java2 Collections for Java1.
>> What's the problem with that?
>
>
> The Collections API download uses the com.sun.java.collections namespace
> rather than the java.util namespace. And there is no way to write one
> source file that uses the API and compiles in both environments.