)]}'
{
  "commit": "babdc9609af56eb3c464a2b511a29cb19457c29d",
  "tree": "990932d38d6eb3035c21b9dc55a106e4aa3d9c60",
  "parents": [
    "29ddae8e0df41bf53d3c55d429dba51ee4516159"
  ],
  "author": {
    "name": "Dan Ringwalt",
    "email": "ringwalt@google.com",
    "time": "Thu Jun 10 09:43:35 2021 -0400"
  },
  "committer": {
    "name": "Daniel Ringwalt",
    "email": "ringwalt@google.com",
    "time": "Wed Jun 16 15:23:29 2021 -0400"
  },
  "message": "Introduce ArrayHelper.setAt() to use with EnumMap.\n\nThis makes sure the out of bounds index access is encapsulated so that\nit can be super-sourced for WASM.\n\nJ2CL uses the GWT emul sources, and the same sources also transpile to\nWASM (unless the entire implementation must be different using\nsuper-wasm sources, which is generally not true for collections\nclasses). For these classes, array elements should not be read or\nassigned out of bounds, which will result in a WASM exception (for\nWASM-GC arrays). ArrayHelper will have a super-wasm implementation,\nwhich will resize the backing array if needed before proceeding.\n\nLike the original EnumMap helper method, this returns the original value\nat the index (or else null), which can be done efficiently in GWT\nwithout bounds checks.\n\nPiperOrigin-RevId: 378638984\nChange-Id: Ia19caef0576f8064a23b7cc73b20eea445e18b60\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0dbd223bfb4dc8449782b0676d106759c1940263",
      "old_mode": 33188,
      "old_path": "user/super/com/google/gwt/emul/java/util/EnumMap.java",
      "new_id": "00ef1b98e95095cefb6fd4fa0957f9ff90fe4925",
      "new_mode": 33188,
      "new_path": "user/super/com/google/gwt/emul/java/util/EnumMap.java"
    },
    {
      "type": "modify",
      "old_id": "c474c9add5ccb816cb90d69ee523229a77d3af95",
      "old_mode": 33188,
      "old_path": "user/super/com/google/gwt/emul/javaemul/internal/ArrayHelper.java",
      "new_id": "70be843b6a89f96c3a0bd83a94db04c8f36cebc5",
      "new_mode": 33188,
      "new_path": "user/super/com/google/gwt/emul/javaemul/internal/ArrayHelper.java"
    }
  ]
}
