jdk/test/java/text/Bidi/BidiBug.java
changeset 2956 931f209e57a9
parent 1834 6eefd0d6804d
child 5506 202f599c92aa
--- a/jdk/test/java/text/Bidi/BidiBug.java	Thu May 28 18:11:07 2009 +0400
+++ b/jdk/test/java/text/Bidi/BidiBug.java	Sat Jun 13 06:43:54 2009 +0900
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 4827312
+ * @bug 4827312 6850113
  * @summary verify that argument validity check is not fooled by overflow
  */
 public class BidiBug {
@@ -33,9 +33,9 @@
         java.text.Bidi bidi = new java.text.Bidi(new char[20],10,buff,Integer.MAX_VALUE-3,4,1);
     }
     catch (IllegalArgumentException e) {
-        System.out.println(e);
+        System.out.println("Passed: " + e);
         return; // success
     }
-    throw new RuntimeException("didn't throw error, though we didn't crash either");
+    throw new RuntimeException("Failed: Bidi didn't throw error, though we didn't crash either");
   }
 }