Commit 849d0a2
committed
Use javac
`--release` also verifies that only API from that Java version is used.
Otherwise when building with a JDK newer than the target version it would
be possible to accidentally use API not available in the target version.
This also fixes this warning which is currently printed during the build:
> [WARNING] system modules path not set in conjunction with -source 11--release instead of -source & -target
1 parent dd614bc commit 849d0a2
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
| 220 | + | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
| |||
0 commit comments