Spacebars are missed in ServiceDependence.toString()
Alexey Fedorov
alexey.x.fedorov at oracle.com
Wed Feb 15 11:59:30 PST 2012
Hi all,
I am playing with Jigsaw and found the following small bug: method
ServiceDependence.toString() contains modifier without any spacebars
between them.
Set<Dependence.Modifier> modifiers = new
HashSet<>(Arrays.asList(OPTIONAL, PUBLIC));
ServiceDependence sd = new ServiceDependence(modifiers, "my.service");
sd.toString returns:
> requires serviceoptionalpublic my.service
but expected something like:
> requires service optional public my.service
Seems like small bug :)
--
Thank you,
Alexey
More information about the jigsaw-dev
mailing list