question on jdk_collections group in jdk/test/TEST.groups

Stuart Marks stuart.marks at oracle.com
Thu Dec 10 01:47:32 UTC 2015


Hi, maybe somebody can fill me in on the history here.

There's a nice test group called jdk_collections defined in 
jdk/test/TEST.groups. It runs the tests for the collections in java/util (but 
not java/util/concurrent) and it excludes all the stuff in java/util that isn't 
collections-related.

Well, not really. The jdk_collections group excludes the java/util/Deque and 
java/util/PriorityQueue tests. Those are in the jdk_concurrent test group, and 
there's a note there that those are maintained by "JSR-166 (Doug Lea et al)".

I'm dimly aware that some of the newer non-concurrent collections like Deque and 
PQ came in via the various JSR-166 efforts. Is it still useful to preserve this 
distinction in the TEST.groups file? It seems to me that, as much as possible, 
the jdk_collections group should include the "core collections" tests and the 
jdk_concurrent group should include the tests for the j.u.c stuff.

s'marks



More information about the core-libs-dev mailing list