hg: dio/dev: 8085845: UART: emulator crash if UART is closed and GC-ed with unfinished read operation

sergey.nazarkin at oracle.com sergey.nazarkin at oracle.com
Thu Jun 4 16:24:19 UTC 2015


Changeset: a555fd602e89
Author:    snazarki
Date:      2015-06-04 19:20 +0300
URL:       http://hg.openjdk.java.net/dio/dev/rev/a555fd602e89

8085845: UART: emulator crash if UART is closed and GC-ed with unfinished read operation
Summary: device state check is moved to generic stopRead. CDE may be rised if device is closed while read() is ongoing
Reviewed-by: alkonsta

! src/share/classes/com/oracle/dio/uart/impl/UARTImpl.java



More information about the dio-dev mailing list