Java min version for master sources?
julien2412
serval2412 at yahoo.fr
Tue May 21 10:06:38 UTC 2019
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
https://opengrok.libreoffice.org/search?project=core&full=JAVA_TARGET_VER&defs=&refs=&path=&hist=&type=&si=full,
I don't see the use of "JAVA_SOURCE_VER" or "JAVA_TARGET_VER" var in
"scripting" part.
But did you mean this kind of line
-Dant.build.javac.target=$(JAVA_TARGET_VER) \ (which obviously must
correspond to add "--target 1.6" to javac)
doesn't actually does its checking work?
Reading
https://stackoverflow.com/questions/15492948/javac-source-and-target-options,
it seems even more complicated since we should use too "bootclasspath"
option too.
Bad news then :-(
Julien
--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
More information about the LibreOffice
mailing list