]> source.dussan.org Git - javassist.git/commitdiff
Fix bytecode compatible back to 52(JDK8) 473/head
authorshifujun <shifujun@foxmail.com>
Mon, 18 Dec 2023 08:39:09 +0000 (16:39 +0800)
committershifujun <shifujun@foxmail.com>
Wed, 20 Dec 2023 00:36:34 +0000 (08:36 +0800)
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

pom.xml

diff --git a/pom.xml b/pom.xml
index 89ffd957d5b2645936e6d9ee3463a90633621a19..e27790b7a872be94faecc82561b37224c283a834 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <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>