jdk/test/java/beans/Introspector/TestTypeResolver.java
changeset 21274 238365b3e98a
parent 16468 8675645c0757
child 31448 1066345d2a8a
--- 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);