The order of exceptions is not part of the API
Brought to you by:
mdoar
Rohit Aggarwal pointed out that JDiff currently marks
methods as changed when the order of the exceptions
declared with throws is changed, and tells you so in a
report.
The Java Language Specification doesn't mention it, but
further discussion confirmed our belief that the order
makes no difference to the behaviour of a Java
application. Maybe the bytecode is different, I don't
know.
The patch checks whether the only change in a method
is the order of the exceptions, and ignores this as a
change. It will become the default behaviour for the next
release of JDiff.
~Matt
Diff to ignore exception order changes