7091290: fails to build jdk8 b05 Embedded build
authorweijun
Tue, 20 Sep 2011 12:40:23 +0800
changeset 10600 558b97746312
parent 10599 79e95f5aaffb
child 10601 c496d54879f4
child 10605 8c19a790b7c1
7091290: fails to build jdk8 b05 Embedded build Reviewed-by: xuelei, dholmes
jdk/src/share/classes/org/ietf/jgss/Oid.java
--- 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