summaryrefslogtreecommitdiff
path: root/jsr166-tests/src/test/java/jsr166/ArrayBlockingQueueFairTest.java
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-04-28 11:54:12 -0700
committerLajos Molnar <lajos@google.com>2014-05-12 07:40:58 -0700
commit7e02765b7ada4e85f941f0a6b0fc60a8a76301f3 (patch)
tree4251e64a4a2da468f58ba2dc1f117bef564e507d /jsr166-tests/src/test/java/jsr166/ArrayBlockingQueueFairTest.java
parent52fb2230feb2726ab48704a0fd8d8c9c138db4d5 (diff)
Better protection against accessing freed DirectByteBuffers
Expand preventing access of freed buffers, so duplicated ByteBuffers also become inaccessible when the original buffer is freed. Throw IllegalStateException in ByteBuffer.put(ByteBuffer) when either source or destination buffer is inaccessible. Bug: 11512044 Change-Id: Idd2f4ef1f3d66b4209441bf4014ccd4aad9d850b
Diffstat (limited to 'jsr166-tests/src/test/java/jsr166/ArrayBlockingQueueFairTest.java')
0 files changed, 0 insertions, 0 deletions