changeset 232:63f9b3b2d14b

8133358: DACChannelConfig.serialize/deserialize are not implemented Summary: Added implementation Reviewed-by: alkonsta
author snazarki
date Tue, 11 Aug 2015 20:12:41 +0300
parents b133468760a7
children 84fdd208a6cd
files src/share/classes/jdk/dio/dac/DACChannelConfig.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/jdk/dio/dac/DACChannelConfig.java	Tue Aug 11 16:22:49 2015 +0300
+++ b/src/share/classes/jdk/dio/dac/DACChannelConfig.java	Tue Aug 11 20:12:41 2015 +0300
@@ -316,7 +316,7 @@
      * @since 1.1
      */
     public static DACChannelConfig deserialize(InputStream in) throws IOException {
-      throw new IOException("Unsupported Operation");
+      return (DACChannelConfig)Platform.deserialize(in);
     }
 
 
@@ -332,7 +332,7 @@
      */
     @Override
     public int serialize(OutputStream out) throws IOException {
-      throw new IOException("Unsupported Operation");
+      return Platform.serialize(this, out);
     }
 
     /**