On Jun 12, 2013, at 1:16 PM, Alan Bateman <alan.bate...@oracle.com> wrote: > On 12/06/2013 11:48, Paul Sandoz wrote: >> : >> >> You might be able to use a lambda expression when creating the comparator >> for the TreeSet: >> >> Set<Profile> profiles = new TreeSet<Profile>((p1, p2) -> { ... }); >> >> I realize that is just for debugging so it's not really important, but i >> have lambda goggles on so cannot help it :-) >> > That would be nice but as jdeps is in the langtools repository so I assume it > is compiled by the boot JDK. >
Drat, i thought there might be a restriction on such code due to that. Paul.