jdk-24/nashorn/test/script/basic/JDK-8011964.js.EXPECTED
Athijegannathan Sundararajan 1dd97ac6e7 8011964: need indexed access to externally-managed ByteBuffer
Reviewed-by: lagergren, hannesw
2014-02-14 19:02:02 +05:30

21 lines
284 B
Plaintext

obj[0] = 65
buf.get(0) = 65
obj[1] = 66
buf.get(1) = 66
obj[2] = 67
buf.get(2) = 67
obj[3] = 68
buf.get(3) = 68
obj[4] = 69
buf.get(4) = 69
arr[0] = 97
buf.get(0) = 97
arr[1] = 98
buf.get(1) = 98
arr[2] = 99
buf.get(2) = 99
arr[3] = 100
buf.get(3) = 100
arr[4] = 101
buf.get(4) = 101