What is OUTPUT_BUFFER_EMPTY in Java?

all the bytes, were successfully transfered from PC to Arduino

All it means is that the PC's buffer is now empty; whether or not the transfer is successful, the PC can't say, just that all the data it was aked to transmit has left.