* Package: www-servers/tomcat-7.0.56 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Using: icedtea-6 removed ‘./res/META-INF/tomcat7-websocket.jar/services/javax.websocket.server.ServerEndpointConfig$Configurator’ removed ‘./res/META-INF/tomcat7-websocket.jar/services/javax.servlet.ServletContainerInitializer’ removed ‘./res/META-INF/tomcat7-websocket.jar/services/javax.websocket.ContainerProvider’ removed directory: ‘./res/META-INF/tomcat7-websocket.jar/services’ removed ‘./res/META-INF/tomcat7-websocket.jar/web-fragment.xml’ removed directory: ‘./res/META-INF/tomcat7-websocket.jar’ removed ‘./test/webapp-3.0-virtual-webapp/src/main/webapp/WEB-INF/lib/rsrc.jar’ removed ‘./test/webapp-3.0-fragments-empty-absolute-ordering/WEB-INF/lib/resources.jar’ removed ‘./test/webapp-3.0-fragments/WEB-INF/lib/resources2.jar’ removed ‘./test/webapp-3.0-fragments/WEB-INF/lib/resources.jar’ removed ‘./webapps/examples/WEB-INF/lib/jstl.jar’ removed ‘./webapps/examples/WEB-INF/lib/standard.jar’ * Applying tomcat-7.0.56-build.xml.patch ... [ ok ] Rewriting attributes Rewriting ./modules/jdbc-pool/build.xml Rewriting ./res/deployer/build.xml Rewriting ./build.xml Rewriting ./webapps/ROOT/build.xml * Disabling all optional ANT_TASKS [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/javax/el/ResourceBundleELResolver.java:109: warning: getFeatureDescriptors(javax.el.ELContext,java.lang.Object) in javax.el.ResourceBundleELResolver overrides getFeatureDescriptors(javax.el.ELContext,java.lang.Object) in javax.el.ELResolver; return type requires unchecked conversion [javac] found : java.util.Iterator [javac] required: java.util.Iterator [javac] public Iterator getFeatureDescriptors( [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 warning [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelGroupUtil.java:20: cannot find symbol [javac] symbol : class AsynchronousChannelGroup [javac] location: package java.nio.channels [javac] import java.nio.channels.AsynchronousChannelGroup; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelGroupUtil.java:40: cannot find symbol [javac] symbol : class AsynchronousChannelGroup [javac] location: class org.apache.tomcat.websocket.AsyncChannelGroupUtil [javac] private static AsynchronousChannelGroup group = null; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelGroupUtil.java:50: cannot find symbol [javac] symbol : class AsynchronousChannelGroup [javac] location: class org.apache.tomcat.websocket.AsyncChannelGroupUtil [javac] public static AsynchronousChannelGroup register() { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelGroupUtil.java:72: cannot find symbol [javac] symbol : class AsynchronousChannelGroup [javac] location: class org.apache.tomcat.websocket.AsyncChannelGroupUtil [javac] private static AsynchronousChannelGroup createAsynchronousChannelGroup() { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapper.java:20: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: package java.nio.channels [javac] import java.nio.channels.CompletionHandler; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapper.java:36: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: interface org.apache.tomcat.websocket.AsyncChannelWrapper [javac] CompletionHandler handler); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapper.java:42: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: interface org.apache.tomcat.websocket.AsyncChannelWrapper [javac] CompletionHandler handler); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperNonSecure.java:21: cannot find symbol [javac] symbol : class AsynchronousSocketChannel [javac] location: package java.nio.channels [javac] import java.nio.channels.AsynchronousSocketChannel; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperNonSecure.java:22: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: package java.nio.channels [javac] import java.nio.channels.CompletionHandler; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperNonSecure.java:37: cannot find symbol [javac] symbol : class AsynchronousSocketChannel [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperNonSecure [javac] private final AsynchronousSocketChannel socketChannel; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperNonSecure.java:40: cannot find symbol [javac] symbol : class AsynchronousSocketChannel [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperNonSecure [javac] AsynchronousSocketChannel socketChannel) { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperNonSecure.java:51: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperNonSecure [javac] CompletionHandler handler) { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperNonSecure.java:63: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperNonSecure [javac] CompletionHandler handler) { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperSecure.java:22: cannot find symbol [javac] symbol : class AsynchronousSocketChannel [javac] location: package java.nio.channels [javac] import java.nio.channels.AsynchronousSocketChannel; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperSecure.java:23: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: package java.nio.channels [javac] import java.nio.channels.CompletionHandler; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperSecure.java:57: cannot find symbol [javac] symbol : class AsynchronousSocketChannel [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperSecure [javac] private final AsynchronousSocketChannel socketChannel; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperSecure.java:67: cannot find symbol [javac] symbol : class AsynchronousSocketChannel [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperSecure [javac] public AsyncChannelWrapperSecure(AsynchronousSocketChannel socketChannel, [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperSecure.java:95: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperSecure [javac] CompletionHandler handler) { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperSecure.java:132: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperSecure [javac] CompletionHandler handler) { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperSecure.java:444: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperSecure.WrapperFuture [javac] private final CompletionHandler handler; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelWrapperSecure.java:455: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: class org.apache.tomcat.websocket.AsyncChannelWrapperSecure.WrapperFuture [javac] public WrapperFuture(CompletionHandler handler, A attachment) { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsSession.java:22: cannot find symbol [javac] symbol : class StandardCharsets [javac] location: package java.nio.charset [javac] import java.nio.charset.StandardCharsets; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:28: cannot find symbol [javac] symbol : class AsynchronousChannelGroup [javac] location: package java.nio.channels [javac] import java.nio.channels.AsynchronousChannelGroup; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:29: cannot find symbol [javac] symbol : class AsynchronousSocketChannel [javac] location: package java.nio.channels [javac] import java.nio.channels.AsynchronousSocketChannel; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:30: cannot find symbol [javac] symbol : class StandardCharsets [javac] location: package java.nio.charset [javac] import java.nio.charset.StandardCharsets; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:108: cannot find symbol [javac] symbol : class AsynchronousChannelGroup [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] private volatile AsynchronousChannelGroup asynchronousChannelGroup = null; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:816: cannot find symbol [javac] symbol : class AsynchronousChannelGroup [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] private AsynchronousChannelGroup getAsynchronousChannelGroup() { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/SendHandlerToCompletionHandler.java:19: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: package java.nio.channels [javac] import java.nio.channels.CompletionHandler; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/SendHandlerToCompletionHandler.java:25: cannot find symbol [javac] symbol: class CompletionHandler [javac] implements CompletionHandler { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/SendHandlerToCompletionHandler.java:25: interface expected here [javac] implements CompletionHandler { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsFrameClient.java:21: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: package java.nio.channels [javac] import java.nio.channels.CompletionHandler; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsFrameClient.java:29: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: class org.apache.tomcat.websocket.WsFrameClient [javac] private final CompletionHandler handler; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsFrameClient.java:101: cannot find symbol [javac] symbol : class CompletionHandler [javac] location: class org.apache.tomcat.websocket.WsFrameClient [javac] implements CompletionHandler { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsFrameClient.java:101: interface expected here [javac] implements CompletionHandler { [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/server/UpgradeUtil.java:20: cannot find symbol [javac] symbol : class StandardCharsets [javac] location: package java.nio.charset [javac] import java.nio.charset.StandardCharsets; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/AsyncChannelGroupUtil.java:92: cannot find symbol [javac] symbol : variable AsynchronousChannelGroup [javac] location: class org.apache.tomcat.websocket.AsyncChannelGroupUtil [javac] return AsynchronousChannelGroup.withCachedThreadPool( [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsSession.java:58: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsSession [javac] "\u2026".getBytes(StandardCharsets.UTF_8); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsSession.java:541: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsSession [javac] byte[] reasonBytes = reason.getBytes(StandardCharsets.UTF_8); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsSession.java:551: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsSession [javac] StandardCharsets.UTF_8); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsSession.java:557: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsSession [javac] StandardCharsets.UTF_8); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:258: cannot find symbol [javac] symbol : class AsynchronousSocketChannel [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] AsynchronousSocketChannel socketChannel; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:260: cannot find symbol [javac] symbol : variable AsynchronousSocketChannel [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] socketChannel = AsynchronousSocketChannel.open(getAsynchronousChannelGroup()); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:505: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] result.put("GET ".getBytes(StandardCharsets.ISO_8859_1)); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:506: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] result.put(uri.getRawPath().getBytes(StandardCharsets.ISO_8859_1)); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:510: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] result.put(query.getBytes(StandardCharsets.ISO_8859_1)); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:512: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] result.put(" HTTP/1.1\r\n".getBytes(StandardCharsets.ISO_8859_1)); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:544: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] result.put(key.getBytes(StandardCharsets.ISO_8859_1)); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:545: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] result.put(": ".getBytes(StandardCharsets.ISO_8859_1)); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:546: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] result.put(sb.toString().getBytes(StandardCharsets.ISO_8859_1)); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsWebSocketContainer.java:819: cannot find symbol [javac] symbol : class AsynchronousChannelGroup [javac] location: class org.apache.tomcat.websocket.WsWebSocketContainer [javac] AsynchronousChannelGroup result = asynchronousChannelGroup; [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/PerMessageDeflate.java:319: cannot find symbol [javac] symbol : variable SYNC_FLUSH [javac] location: class java.util.zip.Deflater [javac] int flush = (uncompressedPart.isFin() ? Deflater.SYNC_FLUSH : Deflater.NO_FLUSH); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/PerMessageDeflate.java:319: cannot find symbol [javac] symbol : variable NO_FLUSH [javac] location: class java.util.zip.Deflater [javac] int flush = (uncompressedPart.isFin() ? Deflater.SYNC_FLUSH : Deflater.NO_FLUSH); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/PerMessageDeflate.java:325: cannot find symbol [javac] symbol : method deflate(byte[],int,int,int) [javac] location: class java.util.zip.Deflater [javac] int written = deflater.deflate(compressedPayload.array(), [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/PerMessageDeflate.java:380: cannot find symbol [javac] symbol : variable SYNC_FLUSH [javac] location: class java.util.zip.Deflater [javac] int eomBufferWritten = deflater.deflate(EOM_BUFFER, 0, EOM_BUFFER.length, Deflater.SYNC_FLUSH); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/SendHandlerToCompletionHandler.java:33: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/SendHandlerToCompletionHandler.java:38: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsFrameClient.java:103: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/WsFrameClient.java:120: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/server/UpgradeUtil.java:54: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.server.UpgradeUtil [javac] StandardCharsets.ISO_8859_1); [javac] ^ [javac] /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/java/org/apache/tomcat/websocket/server/UpgradeUtil.java:328: cannot find symbol [javac] symbol : variable StandardCharsets [javac] location: class org.apache.tomcat.websocket.server.UpgradeUtil [javac] key.getBytes(StandardCharsets.ISO_8859_1), WS_ACCEPT); [javac] ^ [javac] 60 errors BUILD FAILED /var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src/build.xml:593: Compile failed; see the compiler error output for details. Total time: 7 seconds * ERROR: www-servers/tomcat-7.0.56::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 4285: Called java-pkg-2_src_compile * environment, line 2167: Called eant 'deploy' '-f' 'build.xml' '-Dversion=7.0.56-gentoo' '-Dversion.number=7.0.56' '-Dcompile.debug=false' '-Djava.7.home=/etc/java-config-2/current-system-vm' * environment, line 604: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=www-servers/tomcat-7.0.56::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-servers/tomcat-7.0.56::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-6 CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea6" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac" and of course, the output of emerge --info =tomcat-7.0.56 * The complete build log is located at '/var/log/log/build/www-servers/tomcat-7.0.56:20141111-114043.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/tomcat-7.0.56/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/tomcat-7.0.56/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src' * S: '/var/tmp/portage/www-servers/tomcat-7.0.56/work/apache-tomcat-7.0.56-src'