You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/05/08 19:35:00 UTC

[jira] [Commented] (FINERACT-937) Use Java 11 instead of 12 use on Travis

    [ https://issues.apache.org/jira/browse/FINERACT-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17102865#comment-17102865 ] 

Michael Vorburger commented on FINERACT-937:
--------------------------------------------

[~ptuomola] as I'm looking into this, I'm finding/remembering (had forgotten..) that the reason for {{dist: trusty}} instead of {{xenial}} in our {{.travis.yml}} was FINERACT-763... we would probably to have to fix that (unless it meanwhile disappeared), if Ubuntu Xenial has a more recent Java 11 (that we need) than Trusty. 

I've tried it in https://github.com/apache/fineract/pull/846, but find that FINERACT-763 still happens. Let's separate problems that are separate, and FIRST attempt to do (new) FINERACT-951, and then come back to this. 

My hope is that Trusty's {{openjdk version "11.0.2" 2019-01-15}} may include the fix for JDK-8212885, although that may not be true... do you happen to remember, or can look up, what exact Java 11 Travis ran, before we switched to 12? 

I've also tried {{dist: bionic}}, see https://docs.travis-ci.com/user/reference/bionic (might as well, while we're at it...) but that also still includes only the same {{openjdk version "11.0.2" 2019-01-15}}.

Adding {{sudo apt-get update}} and {{sudo apt-get upgrade}} in {{before_install}} STILL seems to only bring the same _openjdk version "11.0.2" 2019-01-15 (build 11.0.2+9)_ (but according to https://docs.travis-ci.com/user/installing-dependencies isn't recommended anyway).

One option here I guess is switch to something else than Travis CI... but that seems like a big hammer, and shame.

> Use Java 11 instead of 12 use on Travis
> ---------------------------------------
>
>                 Key: FINERACT-937
>                 URL: https://issues.apache.org/jira/browse/FINERACT-937
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Michael Vorburger
>            Assignee: Michael Vorburger
>            Priority: Critical
>              Labels: technical
>             Fix For: 1.4.0
>
>
> FINERACT-846 switched from openjdk8 to openjdk12 instead of openjdk11 in our .travis.yml, due to technical reasons explained further in details on https://github.com/apache/fineract/pull/820/files, but the TL;DR is https://bugs.openjdk.java.net/browse/JDK-8212885 re. "TLS 1.3 resumed session does not retain peer certificate chain".
> The goal of this issue is to build Fineract on Travis using JDK 11 instead of 12. (The "why" we should do this is also in a comment on https://github.com/apache/fineract/pull/820/files.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)