Java min version for master sources?
sbergman at redhat.com
Tue May 21 11:09:21 UTC 2019
On 21/05/2019 12:06, julien2412 wrote:
> sberg wrote
>> As I wrote, "though `javac --source 1.6 --target 1.6` apparently doesn't
>> check that". So I guess to make such mistakes fail locally or for
>> Gerrit/Jenkins, you would need to actually use Java 6 to build there.
> Taking a look to
> I don't see the use of "JAVA_SOURCE_VER" or "JAVA_TARGET_VER" var in
> "scripting" part.
See gb_JavaClassSet_JAVACCOMMAND in solenv/gbuild/JavaClassSet.mk, which
is what gets used by the scripting/Jar_*.mk.
> it seems even more complicated since we should use too "bootclasspath"
> option too.
Ah, right, it was -bootclasspath that would allow javac to check that we
don't use too new Java API features.
More information about the LibreOffice