From e60f6940ef8c7356dccb4bcd0dcab38e85071882 Mon Sep 17 00:00:00 2001 From: abhilasha2101 Date: Sat, 10 Jan 2026 22:51:01 +0530 Subject: [PATCH 1/2] Docs: clarify recommended Java version for building --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index acd12279b7..95b631ab8a 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ __org.eclipse.jgit.junit.ssh__: Helpers for unit testing - Only the timestamp of the index is used by JGit if the index is dirty. -- JGit 6.0 and newer requires at least Java 11. Older versions require at least Java 1.8. +- While Java 11 is the minimum requirement, building JGit with newer Java versions (for example Java 25) may fail due to toolchain incompatibilities. Java **17** is recommended for a stable build. - CRLF conversion is performed depending on the `core.autocrlf` setting, however Git for Windows by default stores that setting during From e1b0543443e8d4890ed80ba6c6184f3bbfc91cbe Mon Sep 17 00:00:00 2001 From: abhilasha2101 Date: Sun, 11 Jan 2026 19:17:52 +0530 Subject: [PATCH 2/2] Javadoc: clarify Repository class description --- org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java index c9dc6da4ba..0e310614a7 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java @@ -77,8 +77,9 @@ /** * Represents a Git repository. *

- * A repository holds all objects and refs used for managing source code (could - * be any type of file, but source code is what SCM's are typically used for). + * A repository holds all Git objects and references required to manage a + * project’s version history. While it can store any type of file, it is + * commonly used for source code. *

* The thread-safety of a {@link org.eclipse.jgit.lib.Repository} very much * depends on the concrete implementation. Applications working with a generic