Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] Breaking API Change Request: Make IFileService methods return void instead of boolean

TM Committers,
 
Rado found an ugly design flaw in the methods in IFileService which return
a boolean but are also documented to throw an exception in case of an
error.
 
Because the exception is thrown, boolean false can never be returned.
 
We've had this design flaw since the very beginnings, but it's confusing.
Rado and I agree that we have a chance to fix this for RSE 3.0 and so
we should go for it, even if it breaks source compatibility for likely many
clients -- clients can be adapted to the modified code easily and will
be backward compatible otherwise.
 
Please comment on the relevant bug,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=221211
 
Thanks,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
 

Back to the top