aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshifujun <shifujun@foxmail.com>2023-12-18 16:39:09 +0800
committershifujun <shifujun@foxmail.com>2023-12-20 08:36:34 +0800
commitdc5aefedf1fa429f7101f56fa7e9485b5d3dc2c4 (patch)
treec05ef7e41911f3b605ae89421553b78858f36554
parent8b1296ea6400b6f780532f3c48961e9f5357e78f (diff)
downloadjavassist-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.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 89ffd957..e27790b7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>