stardustman opened a new pull request, #1579:
URL: https://github.com/apache/incubator-fury/pull/1579

   fix using high version jdk compile to low version such as jdk8 using 
--release instead of -target
   solve the https://github.com/apache/incubator-fury/issues/1577
   
   > Starting JDK 9, the javac executable can accept the --release option to 
specify against which Java SE release you want to build the project. For 
example, you have JDK 11 installed and used by Maven, but you want to build the 
project against Java 8. The --release option ensures that the code is compiled 
following the rules of the programming language of the specified release, and 
that generated classes target the release as well as the public API of that 
release. This means that, unlike the [-source and -target 
options](https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html),
 the compiler will detect and generate an error when using APIs that don't 
exist in previous releases of Java SE.
   
https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-release.html
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to