langtools/test/tools/javac/classfiles/attributes/lib/TestResult.java
changeset 43259 1a8c1621084d
parent 36526 3b41f1c69604
--- a/langtools/test/tools/javac/classfiles/attributes/lib/TestResult.java	Wed Jan 18 09:35:23 2017 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/lib/TestResult.java	Wed Jan 18 21:09:19 2017 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -82,7 +82,8 @@
         Set<?> copy = new HashSet<>(expected);
         copy.removeAll(found);
         if (!found.containsAll(expected)) {
-            return checkTrue(false, message + " FAIL : not found elements : " + copy);
+            return checkTrue(false, message + " FAIL : not found elements : " + copy + "\n" +
+                    "Actual: " + found);
         } else {
             return checkTrue(true, message + " PASS : all elements found");
         }