Skip to content

Drop Java 7 support: require Java 8 (1.8) as the minimum JDK #318

@ntung

Description

@ntung

Background

The current Maven build compiles with source/target compatibility set to Java 1.7
(jsbml.build.javac.source / jsbml.build.javac.target in the root pom.xml).
However, Java 7 reached its official End of Life in April 2015 and has received
no security patches or maintenance from Oracle since then.

Proposal

Bump the minimum supported JDK from Java 7 to Java 8 (1.8) for the upcoming
JSBML 1.7 release. Concretely, this means:

  • Set jsbml.build.javac.source and jsbml.build.javac.target to 1.8 in the
    root pom.xml.
  • Document the change in NEWS.md.

Rationale

  • Java 7 EOL: April 2015 (10+ years ago).
  • Java 8 is an LTS release still under active support by all major JVM vendors
    (Oracle, Adoptium, Amazon Corretto, etc.).
  • Java 8 language features (lambdas, streams, default interface methods) open the
    door to cleaner API design in future work.
  • No known active JSBML users have reported a dependency on Java 7.

Question for the community

Are there any users or downstream projects still running JSBML on Java 7?
If so, please comment below so we can factor that into the timeline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    javaPull requests that update java code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions