7112267: clean up fix for 7110700
authorsmarks
Thu, 17 Nov 2011 15:04:46 -0800
changeset 11895 77896d5ad69b
parent 11894 c7af6deeffd8
child 11896 eb4d5334fccf
7112267: clean up fix for 7110700 Reviewed-by: dmeetry
jdk/test/java/io/Serializable/expectedStackTrace/ExpectedStackTrace.java
--- a/jdk/test/java/io/Serializable/expectedStackTrace/ExpectedStackTrace.java	Fri Nov 11 15:22:11 2011 -0800
+++ b/jdk/test/java/io/Serializable/expectedStackTrace/ExpectedStackTrace.java	Thu Nov 17 15:04:46 2011 -0800
@@ -22,7 +22,7 @@
  */
 
 /* @test
- * @bug 6317435 7068148
+ * @bug 6317435 7110700
  * @summary Verify that stack trace contains a proper cause of
  *          InvalidClassException (methods: checkSerialize,
  *          checkDeserialize or checkDefaultSerialize)
@@ -59,7 +59,7 @@
     private static final String SER_METHOD_NAME = "checkSerializable";
 
     public static final void main(String[] args) throws Exception {
-        System.err.println("\nRegression test for CRs 6317435, 7068148");
+        System.err.println("\nRegression test for CRs 6317435, 7110700");
         checkSerializable(getObject());
     }
 
@@ -100,8 +100,9 @@
             }
             if (found) {
                 if (ex.getCause() != null) {
-                    throw new Error("\nTest for CR 7068148 FAILED");
+                    throw new Error("\nTest for CR 7110700 FAILED");
                 }
+                System.err.println("\nTEST PASSED");
             } else {
                 throw new Error("\nTest for CR 6317435 FAILED");
             }