Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsdeclarative services:: allows interface names with leading whitespace
https://www.eclipse.org/forums/index.php/mv/msg/161190/509433/#msg_509433
i just stumbled over this while trying to figure out why i couldnt get one of my DS services from the service registry via its interface name.
it turned out that the component xml inlcuded a whitespace at the beginning of the interface name like so:
the service did register all right and was up and running but couldnt get it b/c when requesting it i didnt have the leading space.
question:
shouldnt DS check if the interfaces declared here are actually implemented by the class and be java-name conformant? or even better: trim them?
this was with equinox 3.4.2 and i will open a bug for this if i dont think wrong here.
(sorry, have no time to check with the latest version)