Hi Jon,

       Sorry for my late reply... variable value is of type Object but clone
method of Object is protected, so value.clone() emits illegal access
warnings.
       I am trying to make Groovy a bit smarter to find the proper clone
method(I assume you have overrided the Object.clone in your sub-classes). If
everything is OK, 3.0.0-beta-2 can eliminate the illegal access warnings you
find.

Here is the code you.provided before:
void broadcastSeq (Object value) {
         int channels = cList.size()

         for (i in 0 ..< channels) cList[i].write(value.clone())
}

Cheers,
Daniel.Sun



--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Reply via email to