Skip to content

Commit

Permalink
Added ADR 10 - binary compatablity
Browse files Browse the repository at this point in the history
  • Loading branch information
adoble committed Sep 2, 2024
1 parent 71e91ba commit 37c7bdc
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/adr/0008-use-java-lts-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Date: 10 Apr 2022
Accepted

* Supersedes [ADR 2](0002-implement-as-Java.md)
* Extended by [ADR 10](0010-binary-compatability-to-java-lts-version-minus-2.md)

## Context

Expand Down
35 changes: 35 additions & 0 deletions doc/adr/0010-binary-compatability-to-java-lts-version-minus-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 10. Binary compatability to Java LTS version minus 2

Date: 2 Sept 2024

## Status

Proposed

* Extends [ADR 8](0008-use-java-lts-versions.md)


## Context

[ADR 8](0008-use-java-lts-versions.md) specifies that `adr-j` is always developed using the latest Java LTS version. However, many organisations are not using the latest LTS version of Java.

Binary compatability with earlier versions could be provided, but this is taken too far it can be restrictive in the further development of `adr-j`.

## Decision

We will provide binary compatablity with the two previous LTS versions of Java.

## Consequences

* Relatively new Java features can be used in the development.
* The lowest supported version is always deprecated.
* Versions before the deprecated version are not supported.


For instance:

| Development | Binary compatability | Deprecated | Not supported |
| ----------- | -------------------- | ---------- | ------------------ |
| Java 21 | Java 17, Java 11 | Java 11 | Java 8 and before |
| Java 25 (*planned 3Q25*) | Java 21, Java 17 | Java 17 | Java 11 and before |

0 comments on commit 37c7bdc

Please sign in to comment.