Fix zero-length byte buffer in InspectedContent by GaoSSR · Pull Request #48649 · spring-projects/spring-boot
This test calls OutputStream.write(int) directly, which triggers ArrayIndexOutOfBoundsException when singleByteBuffer is new byte[0]. The fix (byte[0] -> byte[1]) makes this test pass. Signed-off-by: 高春晖 <18220699480@163.com>
snicoll pushed a commit that referenced this pull request
Dec 31, 2025See gh-48649 Signed-off-by: 高春晖 <18220699480@163.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters