tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Rossbach ...@objektpark.de>
Subject Arrays.copyOf support?
Date Mon, 29 Dec 2008 06:04:45 GMT
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




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message