Skip to content

Bump min java version to 1.8 #1218

Description

@paladox

We should bump the min java version to 1.8 in the next release so we can bump jetty version and other deps and other deps which requires java 1.8+.

Activity

  1. added a commit that references this issue on Mar 18, 2017
    259881d
  2. flaix commented on Mar 18, 2017

    @flaix
    Member

    I vote against it. I wouldn't want to force Java 8 as a requirement on users of Gitblit. Not just so that it can use the latest versions of whatever dependencies it has without reason.
    Gitblit is a server application running on stable systems, not a game or desktop app running on the latest, greatest PC. Wide spread Linux server distributions like Debian Jessie or Ubuntu 14.04, for example still come with Java 7.

    While there is merit in keeping up-to-date with dependencies, there should still be a good reason why an update is done, if the system currently is working. So updating all dependencies just because, and thereby stepping up the Java requirement, is not a good idea, I think.

  3. martinspielmann commented on Nov 4, 2017

    @martinspielmann
    Contributor

    I vote for java 8 as a minimal version. Java 9 is already released and Java 7 reached its public end of life long time ago. I just ran an OWASP-dependeny check against GitBlit source and the result was... improvable. From a security point of view, it would be good to have the chance to update to patched versions of dependencies. Stability could be ensured by raising test coverage... and maybe beta/milestone releases?

  4. added this to the 1.10.0 milestone on Nov 10, 2019
  5. ghmer commented on Jun 29, 2020

    @ghmer

    Given the time between releases, I vote for Java11. It is the actual LTS. Java 8 would have been an option 3 years ago.

  6. TomaszSzt commented on Nov 3, 2021

    @TomaszSzt
    Contributor

    Voting for JDK 8 also. It is harder and harder to set-up build environment to use jdk7. Recently You must even keep two versions of ANT as only up to 1.9 allows to use pre 8 JDK what can be a real mess up.

  7. andrm commented on Nov 4, 2021

    @andrm

    Voting for Java 11.

  8. added a commit that references this issue on Feb 6, 2022
    3d42f7b
  9. flaix commented on Feb 6, 2022

    @flaix
    Member

    From Gitblit version 1.10.0 on the minimum Java version is Java 8.

  10. added a commit that references this issue on Sep 22, 2023
    be2e50e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions