Corrected uses of Whitelist to Safelist (#1464)
And introduced a (deprecated) compatibility shim.
Tested with japicmp binary and source compatibility report, and checked binary compat with some test utilities (local testing).
Many thanks to @drei01 (#1408), @nkiesel (#1423) and others for highlighting the issue and for PRs which this commit refines.
diff --git a/pom.xml b/pom.xml
index d49e6c9..d0d0000 100644
--- a/pom.xml
+++ b/pom.xml
@@ -185,7 +185,9 @@
<version>0.14.4</version>
<configuration>
<parameter>
- <!-- Just running the reports for now. jsoup policy is ok to remove deprecated methods on minor but not builds. -->
+ <!-- jsoup policy is ok to remove deprecated methods on minor but not builds. will need to temp remove on bump to 1.15.1 and manually validate -->
+ <breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
+ <breakBuildOnSourceIncompatibleModifications>true</breakBuildOnSourceIncompatibleModifications>
</parameter>
</configuration>
<executions>