8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed
Reviewed-by: art, jfranck
--- 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);