lcm-proj / lcm

Lightweight Communications and Marshalling
GNU Lesser General Public License v2.1
944 stars 385 forks source link

Use --release flag instead of -source and -target #411

Closed ihilt closed 1 year ago

ihilt commented 1 year ago

This fixes the warning:

warning: [options] bootstrap class path not set in conjunction with -source 8

According to JEP#247, using the --release flag is the correct method for setting the targetted version for JDK >= 9.

We retain the JDK 8 behavior since MacOS and Windows CI use it.

https://openjdk.org/jeps/247