summaryrefslogtreecommitdiff
path: root/test/031-class-attributes/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/031-class-attributes/src')
-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 977a05f1a6..c2e41c5b3e 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();