changeset 161:1b2e8cfd44d1

8080126: Unable to register application-provided DeviceProvider service provider's AbstractDevice implementation Summary: Fixed copy-past issue Reviewed-by: alkonsta
author snazarki
date Tue, 12 May 2015 13:29:46 +0300
parents aa7d1593f97f
children 6569ed57740f
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	Thu May 07 15:09:42 2015 +0300
+++ b/src/share/classes/jdk/dio/DeviceManager.java	Tue May 12 13:29:46 2015 +0300
@@ -1219,7 +1219,7 @@
             while (iter.hasNext()) {
                 DeviceProvider provider = iter.next();
 
-                if (!provider.getConfigType().isAssignableFrom(intf)) {
+                if (!provider.getType().isAssignableFrom(intf)) {
                     continue;
                 }