summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/031-class-attributes/src/ClassAttrs.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/031-class-attributes/src/ClassAttrs.java b/test/031-class-attributes/src/ClassAttrs.java
index 977a05f..c2e41c5 100644
--- a/test/031-class-attributes/src/ClassAttrs.java
+++ b/test/031-class-attributes/src/ClassAttrs.java
@@ -330,8 +330,9 @@ public class ClassAttrs {
for (Type t : types) {
typeStringList.add(t.toString());
}
- // Sort types alphabetically so they're always printed in the same order, whichever
- // tool generated the DEX file of the test.
+ // Sort types alphabetically so they're always printed in the same order.
+ // For instance, Class.getClasses() does not guarantee any order for the
+ // returned Class[].
Collections.sort(typeStringList);
StringBuilder stb = new StringBuilder();