Java min version for master sources?

julien2412 serval2412 at
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 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
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).


Sent from:

More information about the LibreOffice mailing list