It will throw an error like "ORA-01002: fetch out of sequence"
because if the cursor has been opened again fetching after a COMMIT has been issued will return the error.
Workaround: Do not issue a COMMIT inside a fetch loop for a cursor that has been opened FOR UPDATE.