On Wed, Apr 25, 2018 at 2:14 PM, Mark Thomas <ma...@apache.org> wrote:
> On 25/04/18 18:07, Coty Sutherland wrote:
>> Hi all,
>>
>> There was a problem discovered on Ubuntu where they're building Tomcat
>> 9 with Java 9, but users are using it with Java 8. That is causing
>> issues because of changes made in Java 9. One of the Ubuntu folks is
>> poking around with a patch and has some details about the issue here
>> https://pastebin.com/EnVh7K8v. We will probably open a bugzilla to see
>> if anyone is open to addressing them in tomcat,
>
> I'm not in favour of that patch.

Given the amount of changes I'm not either, I mentioned it because I
told the person working on it I would just in case someone was
interested. I think the responsibility of maintaining those sorts of
problems should fall on that on the distro's maintainer. Fedora is
fine for me (I build with Java 8), but apparently Ubuntu is building
with Java 10 and will switch to 11 at some point, which is causing the
problem.

>
>> but while thinking
>> about the problem I noted that our supported java versions table on
>> http://tomcat.apache.org/whichversion.html doesn't explicitly say that
>> by 'supported' we mean the tomcat binary we provide will run on that
>> java version. I don't think that we claim that you can build with any
>> version and run on any version anywhere, right?
>
> Correct.

Thanks for confirming.

> BUILDING.txt states that Tomcat 9 should be built with Java 8.
>
>> Is anyone opposed to
>> adding a statement to that effect on the page?
>
> I think something along those lines would be fine. Something to the
> effect of if you build from source with a higher version of Java than
> the minimum then it might not work on Java versions below the version
> you build with. But worded more clearly.

OK, I'll look at adding some verbiage around that.

>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to