Java min version for master sources?

julien2412 serval2412 at yahoo.fr
Tue May 21 09:24:01 UTC 2019


...
The baseline is actually Java 6.  We use `javac --target 1.6` (see 
JAVA_TARGET_VER in configure.ac) to generate code that is compatible 
with the Java 6 JVM spec, and our source code must only use Java API 
features that are present in Java 6 (though `javac --source 1.6 --target 
1.6` apparently doesn't check that).
...
</>
If we want to be fully compatible with Java 6, would it be possible to make
this patch
https://cgit.freedesktop.org/libreoffice/core/commit/?id=9ee0a1f16682139c5be28a05d33e980123da4c6f
fail locally (even if we use Java 8+ locally) or on Jenkins so it wouldn't
have been pushed?
(Just to put it clearly, I don't blame Andreas, I could have made the same
type of mistake).

Julien



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html


More information about the LibreOffice mailing list