@Override
    public void alDeleteBuffers(final int numBuffers, final IntBuffer buffers) {
        if (buffers.position() != 0) throw new AssertionError();
        if (buffers.limit() != numBuffers) throw new AssertionError();
        AL10.alDeleteBuffers(buffers);
    }
The LWJGL implementation of {@link AL}.
jme3-lwjgl3/src/main/java/com/jme3/audio/lwjgl/LwjglAL.java