@Override
    public double getDouble(int index) {
        return Double.longBitsToDouble(getLong(index));
    }
@Test
    public void testGetDoubleAfterRelease() {
        assertThrows(IllegalReferenceCountException.class, new Executable() {
            @Override
            public void execute() {
                releasedBuffer().getDouble(0);
            }
        });
    }