changeset 4593:8fe6d94683af

7091290: fails to build jdk8 b05 Embedded build Reviewed-by: xuelei, dholmes
author weijun
date Tue, 20 Sep 2011 12:40:23 +0800
parents e3d78fe803d4
children c77b41652266 61a8c602cace
files src/share/classes/org/ietf/jgss/Oid.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/org/ietf/jgss/Oid.java	Mon Sep 19 15:14:17 2011 +0100
+++ b/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