)]}'
{
  "commit": "231b7003e6d2bdc28a19c0dc568efef269fcb6ff",
  "tree": "ea321be95453b3f2cbb515e1fcb08d5648f95d63",
  "parents": [
    "40074db27a71ebe3cc4ae9f02c1b74862bd28c8c"
  ],
  "author": {
    "name": "Mridul Goyal",
    "email": "mridulgoyal@google.com",
    "time": "Fri Nov 20 06:03:48 2026 -0800"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Nov 20 06:03:48 2026 -0800"
  },
  "message": "[WebGPU][Kotlin] Use GetIntArrayRegion for IntArray\n\nReplaces JNIContext::GetIntArrayElements with env-\u003eGetIntArrayRegion\ninto JNIContext\u0027s inline bump buffer (c-\u003eAllocArray) for int, int32_t,\nuint32_t, and enum IntArray arguments when length \u003e 0, checks AllocArray\nand direct ByteBuffer capacity before reading array/buffer contents, and\nassigns nullptr when length \u003d\u003d 0 across all array conversions. Also uses\nGetIntArrayRegion with an inline stack buffer in GPUImportedAHB\nnativeBeginAccess.\n\nThe direct ByteBuffer check throws the IllegalArgumentException class\ncached in JNIClasses, and nested structure conversions return early when\nan exception is pending.\n\nBug: b/576318708\nTest: ./gradlew :webgpu:connectedDebugAndroidTest\nChange-Id: Ica33a70489eb7eca3807c6f987415d22cd6d3ec6\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/354836\nCommit-Queue: Mridul Goyal \u003cmridulgoyal@google.com\u003e\nReviewed-by: Nikita Gupta \u003cnikigupta@google.com\u003e\nReviewed-by: Tarun Saini \u003csainitarun@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6b5016d88205f3b40163211baf6ace1f930ccc94",
      "old_mode": 33188,
      "old_path": "generator/templates/art/JNIClasses.cpp",
      "new_id": "90859e0f6260841f104636fc3d3bb17b981b0f7f",
      "new_mode": 33188,
      "new_path": "generator/templates/art/JNIClasses.cpp"
    },
    {
      "type": "modify",
      "old_id": "b54c1980e03e063c6ddb295a2ba141a57a598ed8",
      "old_mode": 33188,
      "old_path": "generator/templates/art/JNIClasses.h",
      "new_id": "32f49138faa3c00c88e29c3ed624ce6758f2e5be",
      "new_mode": 33188,
      "new_path": "generator/templates/art/JNIClasses.h"
    },
    {
      "type": "modify",
      "old_id": "6cb7e00eaa7094968162a86cd6b7c4437497d144",
      "old_mode": 33188,
      "old_path": "generator/templates/art/api_jni_types.cpp",
      "new_id": "07ff38d44ed5c64d8394a8a37d4ea971418c1ff1",
      "new_mode": 33188,
      "new_path": "generator/templates/art/api_jni_types.cpp"
    },
    {
      "type": "modify",
      "old_id": "87361c2902c65d81762838cc01edb116bca1a710",
      "old_mode": 33188,
      "old_path": "generator/templates/art/kotlin_record_conversion.cpp",
      "new_id": "3ac362946582872892aff0f94dc9ead9b4154a79",
      "new_mode": 33188,
      "new_path": "generator/templates/art/kotlin_record_conversion.cpp"
    },
    {
      "type": "modify",
      "old_id": "24383c3206c72309b8a219a9b728596258674d06",
      "old_mode": 33188,
      "old_path": "generator/templates/art/methods.cpp",
      "new_id": "34689e7f34d8010325d57f4e68c3188c3d193299",
      "new_mode": 33188,
      "new_path": "generator/templates/art/methods.cpp"
    },
    {
      "type": "modify",
      "old_id": "f1013779a052b3452cdfb82d895ea67a2e5a4e10",
      "old_mode": 33188,
      "old_path": "generator/templates/art/structures.cpp",
      "new_id": "71913c13daea5f2e18b31701d1176f945e46bfc3",
      "new_mode": 33188,
      "new_path": "generator/templates/art/structures.cpp"
    },
    {
      "type": "modify",
      "old_id": "429b4f31f5196c008b574280d03a16abc65b098d",
      "old_mode": 33188,
      "old_path": "tools/android/webgpu/src/androidTest/java/androidx/webgpu/BufferTest.kt",
      "new_id": "e7441c3ca91df7b05cdc2af100817ff097425063",
      "new_mode": 33188,
      "new_path": "tools/android/webgpu/src/androidTest/java/androidx/webgpu/BufferTest.kt"
    },
    {
      "type": "modify",
      "old_id": "5465736cf17dfcdfc708bb8975cb58bef6fd8fc2",
      "old_mode": 33188,
      "old_path": "tools/android/webgpu/src/androidTest/java/androidx/webgpu/RenderPassEncoderTest.kt",
      "new_id": "85513d3457afad0f85ab9a659e3fabf2fc9c9d66",
      "new_mode": 33188,
      "new_path": "tools/android/webgpu/src/androidTest/java/androidx/webgpu/RenderPassEncoderTest.kt"
    },
    {
      "type": "modify",
      "old_id": "78b149afe22cfade0ba036112b10bd41fdfa49f7",
      "old_mode": 33188,
      "old_path": "tools/android/webgpu/src/main/cpp/GPUImportedAHB.cpp",
      "new_id": "5573d03d6e666bd40e1deeada3b1a541d9f41c08",
      "new_mode": 33188,
      "new_path": "tools/android/webgpu/src/main/cpp/GPUImportedAHB.cpp"
    },
    {
      "type": "modify",
      "old_id": "015f3e41b0056a93c8e0489c6d27417cd935f83f",
      "old_mode": 33188,
      "old_path": "tools/android/webgpu/src/main/cpp/JNIContext.cpp",
      "new_id": "1e4dd05c69d03c5dc496fddab22ad610b0a9d86b",
      "new_mode": 33188,
      "new_path": "tools/android/webgpu/src/main/cpp/JNIContext.cpp"
    },
    {
      "type": "modify",
      "old_id": "cf489da13dfcbb53815f1b4d3f0dd3bf960547e2",
      "old_mode": 33188,
      "old_path": "tools/android/webgpu/src/main/cpp/JNIContext.h",
      "new_id": "f1d6e813a7e561d00281b8ee6c594ecfe665374c",
      "new_mode": 33188,
      "new_path": "tools/android/webgpu/src/main/cpp/JNIContext.h"
    }
  ]
}
