Hi Filip or Mark,

the Arrays.copyOf method are only support at java 6.

Please change the following implementation at tomcat 6 trunk:

compile:
[javac] Compiling 182 source files to xxx/tomcat6currenttrunk/ output/classes [javac] xxx/tomcat6currenttrunk/java/org/apache/catalina/tribes/ group/interceptors/SimpleCoordinator.java:89: cannot find symbol [javac] symbol : method copyOf(org.apache.catalina.tribes.Member [],int)
    [javac] location: class java.util.Arrays
[javac] final Member[] view = Arrays.copyOf(members, members.length + 1);
    [javac]                                     ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

Regards
Peter



Reply via email to