Changeset 390 for trunk/openjdk/jdk/test
- Timestamp:
- Jul 2, 2012, 3:05:26 PM (13 years ago)
- Location:
- trunk/openjdk/jdk/test
- Files:
-
- 2 edited
- 13 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/test/java/io/Serializable/expectedStackTrace/ExpectedStackTrace.java
r278 r390 1 1 /* 2 * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 23 23 24 24 /* @test 25 * @bug 6317435 25 * @bug 6317435 7110700 26 26 * @summary Verify that stack trace contains a proper cause of 27 27 * InvalidClassException (methods: checkSerialize, … … 60 60 61 61 public static final void main(String[] args) throws Exception { 62 System.err.println("\nRegression test for CR 6317435");62 System.err.println("\nRegression test for CRs 6317435, 7110700"); 63 63 checkSerializable(getObject()); 64 64 } … … 100 100 } 101 101 if (found) { 102 if (ex.getCause() != null) { 103 throw new Error("\nTest for CR 7110700 FAILED"); 104 } 102 105 System.err.println("\nTEST PASSED"); 103 106 } else { 104 throw new Error();107 throw new Error("\nTest for CR 6317435 FAILED"); 105 108 } 106 109 } -
trunk/openjdk/jdk/test/sun/tools/jstatd/jstatdExternalRegistry.sh
r309 r390 1 1 # 2 # Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.2 # Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 #
Note:
See TracChangeset
for help on using the changeset viewer.