You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Peter Rossbach <pr...@objektpark.de> on 2008/12/29 07:04:45 UTC

Arrays.copyOf support?

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




Re: Arrays.copyOf support?

Posted by Peter Rossbach <pr...@objektpark.de>.
Thanks to new interceptor and fix :-)
Works for me.

Peter


Am 30.12.2008 um 11:11 schrieb Mark Thomas:

> Filip Hanik - Dev Lists wrote:
>> I will fix,
>>
>> Filip
>
> Peter - thanks for catching this.
> Filip - thanks for fixing it.
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>


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


Re: Arrays.copyOf support?

Posted by Mark Thomas <ma...@apache.org>.
Filip Hanik - Dev Lists wrote:
> I will fix,
> 
> Filip

Peter - thanks for catching this.
Filip - thanks for fixing it.

Mark


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


Re: Arrays.copyOf support?

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
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