)]}'
{
  "commit": "326950f40c1172f7564c757b0e51c39883721083",
  "tree": "e4ce0ff868816ba3d4ae3bb47708bdfd62ef0b2f",
  "parents": [
    "cff8d11d0de6b3cfe8941775abcf151a801de1e2"
  ],
  "author": {
    "name": "Ismaël Mejía",
    "email": "iemejia@gmail.com",
    "time": "Mon Aug 17 16:37:02 2026 +0200"
  },
  "committer": {
    "name": "Ismaël Mejía",
    "email": "iemejia@gmail.com",
    "time": "Tue Aug 18 09:12:37 2026 +0200"
  },
  "message": "AVRO-4332: [java] Enable and fix the dormant IdlUtils tests\n\nThe IdlUtils test class was never executed: Surefire only includes\nclasses matching **/Test** (name starting with \"Test\"), but the class\nwas named IdlUtilsTest, so its tests silently rotted since AVRO-3677.\n\nRename IdlUtilsTest to TestIdlUtils so the suite runs, and fix the\nproblems this uncovers:\n\n- byte[] values serialized to an empty string because the byte[]\n  serializer discarded MAPPER.writeValueAsString(...) instead of\n  writing to the generator; write the value to the generator.\n- The callToJson test helper had the same discard bug, so every\n  *ToJson assertion previously compared against an empty string.\n- The happy-flow fixtures lived under org/apache/avro/util and were\n  unreachable from the org.apache.avro.idl package; move them beside\n  the test and regenerate them from the current writer output.\n- getMainSchema() now returns the record directly, so drop the\n  obsolete union unwrapping in validateHappyFlowForSingleSchema.\n- Map/collection JSON expectations now include the \", \" separator the\n  MAPPER emits.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "80499a27093ff1ab4704a2fbc0c47781820d594d",
      "old_mode": 33188,
      "old_path": "lang/java/idl/src/main/java/org/apache/avro/idl/IdlUtils.java",
      "new_id": "39614f5868e5ed1b484e3a4f4371ce86658f25e0",
      "new_mode": 33188,
      "new_path": "lang/java/idl/src/main/java/org/apache/avro/idl/IdlUtils.java"
    },
    {
      "type": "rename",
      "old_id": "7b3f2fd91d1d482457cb8701c354c13ea0eaabf7",
      "old_mode": 33188,
      "old_path": "lang/java/idl/src/test/java/org/apache/avro/idl/IdlUtilsTest.java",
      "new_id": "6e026c1d54fe5d8727cb31a96180070ff5ad48a4",
      "new_mode": 33188,
      "new_path": "lang/java/idl/src/test/java/org/apache/avro/idl/TestIdlUtils.java",
      "score": 93
    },
    {
      "type": "rename",
      "old_id": "fa59f5b356894d3416fb5e32fd7d887e16a4216a",
      "old_mode": 33188,
      "old_path": "lang/java/idl/src/test/resources/org/apache/avro/util/idl_utils_test_protocol.avdl",
      "new_id": "54b572d1f62216507205738dbde6fbf77b3f2efc",
      "new_mode": 33188,
      "new_path": "lang/java/idl/src/test/resources/org/apache/avro/idl/idl_utils_test_protocol.avdl",
      "score": 90
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "97fa466510eab630b0722d16703e14ef2ea0b5e0",
      "new_mode": 33188,
      "new_path": "lang/java/idl/src/test/resources/org/apache/avro/idl/idl_utils_test_schema.avdl"
    },
    {
      "type": "delete",
      "old_id": "b500bde004f5b0d6ec27f0486ab87220bc926904",
      "old_mode": 33188,
      "old_path": "lang/java/idl/src/test/resources/org/apache/avro/util/idl_utils_test_schema.avdl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    }
  ]
}
