Compile error with TreeSet

Bryce McKinlay bryce@albatross.co.nz
Wed Feb 14 19:55:00 GMT 2001


Edgar Villanueva wrote:

> ojects/gcc/build/i686-pc-linux-gnu/libjava java/util/TreeSet.java
> java/util/TreeSet.java: In class `java.util.TreeSet':
> java/util/TreeSet.java: In method `java.util.TreeSet.clone()':
> java/util/TreeSet.java:163: Can't access protected method
> `java.lang.Object.clone' from `java.util.TreeSet'.
>         copy.map = (TreeMap) map.clone();
>                                    ^
> 1 error
> ma

Oops.

regards

  [ bryce ]




More information about the Java-patches mailing list