changeset 212:6dfe35ed50a8

8133320: Missed serialization at GPIOPOrtConfig Summary: Added implementation Reviewed-by: alkonsta
author snazarki
date Tue, 11 Aug 2015 14:46:20 +0300
parents 58b384244452
children b133468760a7
files src/share/classes/jdk/dio/gpio/GPIOPortConfig.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/jdk/dio/gpio/GPIOPortConfig.java	Tue Aug 11 13:08:21 2015 +0300
+++ b/src/share/classes/jdk/dio/gpio/GPIOPortConfig.java	Tue Aug 11 14:46:20 2015 +0300
@@ -168,7 +168,7 @@
      * @since 1.1
      */
     public static GPIOPortConfig deserialize(InputStream in) throws IOException {
-      throw new IOException("Unsupported Operation");
+      return (GPIOPortConfig) Platform.deserialize(in);
     }
 
 
@@ -184,7 +184,7 @@
      */
     @Override
     public int serialize(OutputStream out) throws IOException {
-      throw new IOException("Unsupported Operation");
+      return Platform.serialize(this, out);
     }
 
     /**