changeset 7054:88a7dc88e190

8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed Reviewed-by: art, jfranck
author malenkov
date Wed, 29 Jan 2014 21:39:16 +0400
parents e6b8e2254dca
children 4b2ed892b195 ca75d5f6b227
files test/java/beans/Introspector/TestTypeResolver.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/beans/Introspector/TestTypeResolver.java	Tue Jan 28 11:49:51 2014 -0800
+++ b/test/java/beans/Introspector/TestTypeResolver.java	Wed Jan 29 21:39:16 2014 +0400
@@ -113,6 +113,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);