Build error with openjdk 8
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
java -version openjdk version "1.8.0_162" OpenJDK Runtime Environment (build 1.8.0_162-8u162-b12-1-b12) OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)
build error: [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:14 min [INFO] Finished at: 2023-12-13T20:18:17+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project chunjun-core: Compilation failure [ERROR] /root/work/chunjun/chunjun-core/src/main/java/com/dtstack/chunjun/metrics/RowSizeCalculator.java:[28,37] cannot find symbol [ERROR] symbol: class ObjectSizeCalculator [ERROR] location: package jdk.nashorn.internal.ir.debug [ERROR]
What you expected to happen
build successfully
How to reproduce
./mvnw clean package
Anything else
No response
Version
master
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
openjdk version "11.0.24" 2024-07-16 OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu320.04)
still failed on master 707e4614f31c7747bdca0778128f502d72227d67
jdk版本不支持