<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-04-23 15:58 GMT+02:00 Michael Stahl <span dir="ltr"><<a href="mailto:mstahl@redhat.com" target="_blank">mstahl@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 23.04.2015 10:41, Tomáš Chvátal wrote:<br>
> Hello everybody,<br>
><br>
> I am having problem with the 4.4 libreoffice build with bundled libs.<br>
><br>
> The commons-codecs and commons-lang error out on me with following error:<br>
><br>
> [23259s] ERROR: the files below contain java bytecode for something<br>
> later than java 1.5,<br>
<br>
</span>uhm - *why* exactly is JRE 1.6 byte code an error???<br></blockquote><div><br></div><div>Dunno, SLE11 is this nicely old beast :) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> [23259s] ERROR: please set the javac target to 1.5 or lower.<br>
> [23259s] commons-codec-1.9.jar: org/apache/commons/codec/StringEncoder.class<br>
> [23259s] commons-codec-1.9.jar:<br>
> org/apache/commons/codec/DecoderException.class<br>
> ...<br>
> [23259s] commons-lang3-3.3.1.jar:<br>
> org/apache/commons/lang3/AnnotationUtils.class<br>
> [23259s] commons-lang3-3.3.1.jar:<br>
> org/apache/commons/lang3/text/StrLookup.class<br>
> ...<br>
><br>
> If I am looking at it correctly it seems like these two are just<br>
> unpacked and the jar reused, instead of being recompiled like it was<br>
> done in past.<br>
<br>
</span>really? must be some downstream distro patch, that's not what upstream<br>
does, we build it with ant in<br>
external/apache-commons/ExternalProject_apache_commons_lang.mk etc.<br>
<br>
(see in particular commit 89db5b5b88508e55bce50240d248dd26053f4e09,<br>
"Apache Commons Lang 3.3.1 at least requires Java 1.6 and non debug<br>
version")<br></blockquote><div>Seems you are right it is compiled, the -source and -target are passed, buuut I have to override by disabling HAVE_JAVA6 define.</div><div>The old versions of the lang/codec seem to work splendidly with the checker.</div><div><br></div><div>Thanks</div><div><br></div><div>Tom</div></div></div></div>