Open LQxdu opened 1 month ago
Currently, zt-zip is compatible with Java 6. This patch uses Java 7 API. We have to ponder whether it is time to bump the minimum Java requirement from Java 6 to Java 8.
Based on recent statistical research, such as reports from InfoWorld and New Relic, Java 8, 11, and 17 are the most widely used versions, while the number of users still relying on Java 6 and 7 has significantly decreased. For instance, according to the New Relic report, only 0.28% of applications are still using Java 7 in production.
Therefore, I believe it is worth considering raising the minimum Java requirement from Java 6 to Java 8.
Use java.nio.file.Path for consistent sub-directory checking