# HG changeset patch # User malenkov # Date 1382704922 -14400 # Node ID 238365b3e98a9a88f3d9e82526c4c2217d6b7a3a # Parent 802d3ddab4ec4d165b9c837d87c6eee545e1a8c9 8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed Reviewed-by: art, jfranck diff -r 802d3ddab4ec -r 238365b3e98a jdk/test/java/beans/Introspector/TestTypeResolver.java --- a/jdk/test/java/beans/Introspector/TestTypeResolver.java Fri Oct 25 13:41:19 2013 +0400 +++ b/jdk/test/java/beans/Introspector/TestTypeResolver.java Fri Oct 25 16:42:02 2013 +0400 @@ -115,6 +115,8 @@ // by private implementations of the various Type interfaces if (expect.equals(t) && t.equals(expect)) System.out.println(", as expected"); + else if ((expect.equals(t) || t.equals(expect)) && expect.toString().equals(t.toString())) + System.out.println(", as workaround of the 8023301 bug"); else { System.out.println(" BUT SHOULD BE " + expect); failedCases.add(c);