)]}'
{
  "commit": "97ba2dfb0dde8213026b751036d1e0eac1905b6d",
  "tree": "9db28cf886adfc693a91a51e1a354239f4e07455",
  "parents": [
    "5432392fe1fc395213f0f4da65782181b26032e6"
  ],
  "author": {
    "name": "Junegunn Choi",
    "email": "junegunn@apache.org",
    "time": "Mon Sep 07 13:28:22 2026 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Sep 07 13:28:22 2026 +0900"
  },
  "message": "HBASE-30358 Fix TestMetaTableForReplica on Java 21 (#8621)\n\ntestMetaTableNameForReplicaWithSuffix cleared the FINAL bit on\nTableName.META_TABLE_NAME through a VarHandle on the private Field.modifiers so\nit could rewrite the static. On Java 21 that VarHandle is read-only and the\nwrite throws UnsupportedOperationException before Field.set is reached.\n--add-opens does not help: with the flag passed, the VarHandle reports SET as\nsupported on 17 and unsupported on 21.\n\nThe reflection was not needed. The test computed the expected name with\nTableName.initializeHbaseMetaTableName(conf), wrote it into the static, read it\nback and asserted equality, so that assertion could only fail if reflection\nitself broke. Assert on the return value instead, which is the method the class\ninitializer itself calls.\n\nSigned-off-by: Xiao Liu \u003cliuxiaocs@apache.org\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e5f908288db65f83b9829fef7d0ab0f0f72fe4b4",
      "old_mode": 33188,
      "old_path": "hbase-server/src/test/java/org/apache/hadoop/hbase/TestMetaTableForReplica.java",
      "new_id": "e68adb7be64293815623620af5ccfcd0515011c5",
      "new_mode": 33188,
      "new_path": "hbase-server/src/test/java/org/apache/hadoop/hbase/TestMetaTableForReplica.java"
    }
  ]
}
