changeset 177:16b0299dae30

8129220: OpenJDK binary build failure Summary: Added missed Logging import and correct return value for Platfrom.clone() Reviewed-by: alkonsta
author snazarki
date Thu, 18 Jun 2015 19:04:15 +0300
parents 691950e8cc89
children b810492e8278
files src/se/classes/com/oracle/dio/impl/Platform.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/se/classes/com/oracle/dio/impl/Platform.java	Thu Jun 18 18:58:21 2015 +0300
+++ b/src/se/classes/com/oracle/dio/impl/Platform.java	Thu Jun 18 19:04:15 2015 +0300
@@ -33,6 +33,9 @@
 import java.security.PrivilegedAction;
 import java.util.Objects;
 
+import com.oracle.dio.utils.ExceptionMessage;
+import com.oracle.dio.utils.Logging;
+
 public final class Platform {
     /** Don't let anyone instantiate this class */
     private Platform() {
@@ -84,7 +87,7 @@
             return deserialize(serialize(obj));
         } catch (IOException e) {
             Logging.reportWarning(ExceptionMessage.format(ExceptionMessage.CLONE_ERROR));
-            return instance;
+            return obj;
         }
     }