issue: https://bugs.openjdk.java.net/browse/JDK-8072914 review: http://cr.openjdk.java.net/~snazarki/8072914/ Writing a data to I2C device doesn't result in IOException if no device is really present. The issue is caused by incorrect variable to compare. -- /Sergey