changeset 144:6d9b5908ed85

8074998: Invalid report in case if property file contains incompelete data for configurator Summary: Don't check loadable driver if no properties are provided Reviewed-by: alkonsta
author snazarki
date Tue, 31 Mar 2015 22:00:01 +0300
parents 59f15c907e91
children c62fcea05b22
files src/share/classes/jdk/dio/DeviceManager.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/jdk/dio/DeviceManager.java	Fri Mar 27 13:31:05 2015 +0300
+++ b/src/share/classes/jdk/dio/DeviceManager.java	Tue Mar 31 22:00:01 2015 +0300
@@ -754,7 +754,7 @@
         }
 
         // special case if config is null
-        if (null != properties) {
+        if (0 != properties.length) {
             return loadFromDriver(supported, intf, mode, properties);
         }