RFR: JDK-8074479,,change JAVACALL_REPORT_ERROR and _CRIT logging. review GPIO logging levels

alexey karaksin alexey.karaksin at oracle.com
Fri Mar 6 09:03:40 UTC 2015


issue: https://bugs.openjdk.java.net/browse/JDK-8074479
webrev: http://cr.openjdk.java.net/~amironov/8074479/

change JAVACALL_REPORT_ERROR and _CRIT logging. review GPIO logging levels

javacall_logging.h file define how to log messages, in revision 110 I 
add a string message strerror(errno) to any ERROR and CRIT message.
This cause wrong behavior for ERROR/CRIT messages generated not after 
system calls, but functions which does not set errno properly.

revision 110 changes reverted.
redundant printouts from gpio.c have been removed.


issue: https://bugs.openjdk.java.net/browse/JDK-8074478
webrev: http://cr.openjdk.java.net/~amironov/8074479/

VTS101 api/jdk/dio/gpio tests failed IOException while opening pin.

line 551 in the original file.

the delay between /sys/class/gpio/gpioN/direction file creation and its 
permission change may be more than 200 milliseconds, this cause IO 
exception pin opening. to pass the tests the delay has to be increased.




More information about the dio-dev mailing list