diff options
author | shifujun <shifujun@foxmail.com> | 2023-12-18 16:39:09 +0800 |
---|---|---|
committer | shifujun <shifujun@foxmail.com> | 2023-12-20 08:36:34 +0800 |
commit | dc5aefedf1fa429f7101f56fa7e9485b5d3dc2c4 (patch) | |
tree | c05ef7e41911f3b605ae89421553b78858f36554 | |
parent | 8b1296ea6400b6f780532f3c48961e9f5357e78f (diff) | |
download | javassist-dc5aefedf1fa429f7101f56fa7e9485b5d3dc2c4.tar.gz javassist-dc5aefedf1fa429f7101f56fa7e9485b5d3dc2c4.zip |
Fix bytecode compatible back to 52(JDK8)
This project need JDK 11 to compile, but target to JDK 8.
IDEA need uncheck "use --release" in Preferences |
Build, Execution, Deployment | Compiler | Java Compiler
, to build success.
fix #470
-rw-r--r-- | pom.xml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,8 +151,8 @@ <artifactId>maven-compiler-plugin</artifactId> <version>3.2</version> <configuration> - <source>11</source> - <target>11</target> + <source>1.8</source> + <target>1.8</target> <testSource>11</testSource> <testTarget>11</testTarget> <testCompilerArgument>-parameters</testCompilerArgument> |