Hi,

Please see the sample code below.

SerialBlob sb = new SerialBlob(new byte[]{1, 2, 3});
System.out.println(Arrays.toString(sb.getBytes(3, 3)));

I think that it should output "[3]" but the current implementation throws ArrayIndexOutOfBoundsException.

If it's worth changing, could anyone submit this issue to JBS for me?
I'm ready to submit a pull request, but I don't have an Author role.

Please let me know if there is a better place to do so.

Thanks

Reply via email to