tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Arrays.copyOf support?
Date Mon, 29 Dec 2008 16:30:52 GMT
I will fix,

Filip

Peter Rossbach wrote:
> 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
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message