luzongzhu commented on issue #9051: URL: https://github.com/apache/seatunnel/issues/9051#issuecomment-2792153800
+1 static boolean isAllocatingThreadGetName() { // LOG4J2-2052, LOG4J2-2635 JDK 8u102 ("1.8.0_102") removed the String allocation in // Thread.getName() if (SystemUtils.IS_JAVA_1_8) { try { Pattern javaVersionPattern = Pattern.compile("(\\d+)\\.(\\d+)\\.(\\d+)_(\\d+)"); Matcher m = javaVersionPattern.matcher(System.getProperty("java.version")); if (m.matches()) { return Integer.parseInt(m.group(3)) == 0 && Integer.parseInt(m.group(4)) < 102; } return true; } catch (Exception e) { return true; } } else { return !SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8); } } The dependency package of org.apache.commons.lang3 is used to verify the Java environment. When the Lib directory references the dependency of org.apache.commons.lang3 of the relevant lower version, it will be overwritten and the corresponding attribute cannot be found -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org