From 55f108877bcf11e07561cf42931af256d785b942 Mon Sep 17 00:00:00 2001 From: Ed Burns Date: Mon, 1 Jun 2026 15:46:10 -0700 Subject: [PATCH 1/2] Update java README with accurate validation steps --- java/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/README.md b/java/README.md index f783f3284..60e47ddd9 100644 --- a/java/README.md +++ b/java/README.md @@ -161,7 +161,7 @@ This SDK tracks the official [Copilot SDK](https://github.com/github/copilot-sdk ### Development Setup -Requires JDK 25 or later for development. +Requires JDK 25 or later for development. The following steps validate the artifact built with JDK 25 runs on both 25 and 17, preserving the MR-JR behavior. ```bash # Clone the repository @@ -172,7 +172,8 @@ cd copilot-sdk/java git config core.hooksPath .githooks # Build and test with JDK 25 -mvn clean verify +mvn test-compile jar:jar +mvn verify -Dskip.test.harness=true # Set your paths for JDK 17 # Run the JDK 25 built jar with JDK 17 JVM for tests. Do not re-compile the jar. From 3843860e269c2a3cc761f8b2000562d509f4da99 Mon Sep 17 00:00:00 2001 From: Ed Burns Date: Mon, 1 Jun 2026 15:52:56 -0700 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- java/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/README.md b/java/README.md index 60e47ddd9..3777592a3 100644 --- a/java/README.md +++ b/java/README.md @@ -161,7 +161,7 @@ This SDK tracks the official [Copilot SDK](https://github.com/github/copilot-sdk ### Development Setup -Requires JDK 25 or later for development. The following steps validate the artifact built with JDK 25 runs on both 25 and 17, preserving the MR-JR behavior. +Requires JDK 25 or later for development. The following steps validate the artifact built with JDK 25 runs on both 25 and 17, preserving the MR-JAR behavior. ```bash # Clone the repository