Hi Christian, The issue would be that even though X-Compile-Source-JDK is set to 1.6, the compiler is still using the standard library from Java 8. The ConcurrentHashMap method `java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView` has had its return type narrowed to a new class that is not present in earlier Java versions, so anything compiled with the Java 8 standard library will expect a ConcurrentHashMap$KeySetView as the type. To compile with Java 8 but make it cross compatible with Java 6, you need to use the bootstrap classpath option to javac and point it at a JDK 6/7 rt.jar, see here for an explanation https://blogs.oracle.com/darcy/entry/bootclasspath_older_source.
FWIW I am being bitten by this issue as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625043 Title: tomcat7 package not compliant with tomcat specification To manage notifications about this bug go to: https://bugs.launchpad.net/tomcat7/+bug/1625043/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs