)]}'
{
  "commit": "918fdd77409af70942ae38f521e6597ef7bc4f61",
  "tree": "c401d3354dc023ef3e8eacd95c5ba5f9bade6306",
  "parents": [
    "ee5eb8eee28dd1eec1916760a0ba3432bd306b70"
  ],
  "author": {
    "name": "Thomas Wolf",
    "email": "twolf@apache.org",
    "time": "Sat Jul 19 14:10:19 2025 +0200"
  },
  "committer": {
    "name": "Thomas Wolf",
    "email": "twolf@apache.org",
    "time": "Sat Jul 19 14:11:13 2025 +0200"
  },
  "message": "[releng] Fix maven builds on JVM 21 and with newer git on MacOS\n\nIndexDiffWithSymlinkTest runs only on MacOS, but fails there with newer\ngit or when run on a JVM 21.\n\nNewer git creates a default branch \"main\" by default. The test uses\nnative git to run \"git fast-import\" to be sure the symlink to be tested\nis created not through Java but natively. But the so imported repo\nassumes \"master\" as default branch, and thus the final checkout fails.\nFix this by running \"git -c init.defaultBranch\u003dmaster init\" instead of\njust \"git init\". (With older git that doesn\u0027t know this config, this -c\noption simply won\u0027t have any effect, but such old git will use \"master\"\nanyway as default branch name.)\n\nNext, that test tries to reflectively access a package-private method in\nsun.nio.fs.UnixPath to get at the raw bytes of that symlink. That fails\nwith an InaccessibleObjectException on JVM 21. Fix this by adding\n\"--add-opens java.base/sun.nio.fs\u003dALL-UNNAMED\" to the surefire command\nline options.\n\nChange-Id: I6316be2e5cc5d58e7c4e30fcdca274dfa8abc78d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "39d317a136cf8e2d0c7da63676b5233564c32d9a",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.test/pom.xml",
      "new_id": "b67a2ab67335d106a6f6fda0ab9f4da42f91c835",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/pom.xml"
    },
    {
      "type": "modify",
      "old_id": "d02bfcd3f6135a2899f6c53a107fae6dcfd5da28",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/indexdiff/IndexDiffWithSymlinkTest.java",
      "new_id": "1119db3712317e7b2872f6dec4a27e99ed660443",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/indexdiff/IndexDiffWithSymlinkTest.java"
    }
  ]
}
