changeset 10600:558b97746312

7091290: fails to build jdk8 b05 Embedded build Reviewed-by: xuelei, dholmes
author weijun
date Tue, 20 Sep 2011 12:40:23 +0800
parents 79e95f5aaffb
children c496d54879f4 8c19a790b7c1
files jdk/src/share/classes/org/ietf/jgss/Oid.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/org/ietf/jgss/Oid.java	Mon Sep 19 15:14:17 2011 +0100
+++ b/jdk/src/share/classes/org/ietf/jgss/Oid.java	Tue Sep 20 12:40:23 2011 +0800
@@ -157,7 +157,7 @@
             return (true);
 
         if (other instanceof Oid)
-            return this.oid.equals(((Oid) other).oid);
+            return this.oid.equals((Object)((Oid) other).oid);
         else if (other instanceof ObjectIdentifier)
             return this.oid.equals(other);
         else