You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Java, binary API compatibility and source API compatibility are two
distinct things. Recompiling the same source code against different
dependencies than before might result in different bytecode, which works
correctly at runtime with those new dependencies -- but when using the
previously deployed bytecode against those new dependencies, errors
happen because binary type signatures changed. For example, generic
types might erase differently with the new dependencies, or different
synthetic methods might be silently inserted.
So, we need to check the new dependencies against both scenarios:
1. Do tests pass when run on the existing deployed component binary?
2. Does source compile with passing tests against the new dependencies?
This commit is dedicated to Stephan Saalfeld.
0 commit comments