Skip to content

Commit

Permalink
build(core) hide target version warning on JDK 21+
Browse files Browse the repository at this point in the history
  • Loading branch information
Spasi committed Nov 16, 2024
1 parent 5548b9c commit 9aab7cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/build-definitions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ This script is included in /build.xml and /config/update-dependencies.xml.
<presetdef name="lwjgl.javac">
<javac sourcepath="" debug="yes" source="8" target="8" encoding="UTF-8" includeantruntime="false">
<compilerarg line='--boot-class-path "${env.JAVA8_HOME}/jre/lib/rt.jar"' if:set="set-boot-class-path"/>
<compilerarg value="-Xlint:all"/>
<compilerarg value="-Xlint:all" unless:set="jdk21"/>
<compilerarg line="-Xlint:all,-options" if:set="jdk21"/>
<compilerarg value="-XDignore.symbol.file"/> <!-- Suppresses internal API (e.g. Unsafe) usage warnings -->
</javac>
</presetdef>
Expand Down

0 comments on commit 9aab7cd

Please sign in to comment.