can not build for older source level:

compile:
jni/dist/src/java/org/apache/tomcat/jni/socket/AprSocketContext.java:111: error: diamond operator is not supported in -source 1.6
    private final List<AprPoller> pollers = new ArrayList<>();
                                                          ^
jni/dist/src/java/org/apache/tomcat/jni/socket/AprSocketContext.java:795: error: try-with-resources is not supported in -source 1.6
              try (java.net.Socket sock = new java.net.Socket()) {