tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Rossbach>
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:

     [javac] Compiling 182 source files to xxx/tomcat6currenttrunk/ 
     [javac] xxx/tomcat6currenttrunk/java/org/apache/catalina/tribes/ 
group/interceptors/ cannot find symbol
     [javac] symbol  : method copyOf(org.apache.catalina.tribes.Member 
     [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


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