DataCleaner
DataCleaner copied to clipboard
Make DataCleaner build and run on the latest JDK(s)
I recently did a fresh install of Maven, JDK etc. and found that so much has changed and DataCleaner doesn't work anymore. The majority of it seems to be related to componentization of the JDK and Jigsaw dependencies etc. I spotted that Guava and CGLib at least broke bigtime. Errors happening both at build-, test- and runtime. So let this be an umbrella-issue to resolve the issues that exist due to bit rot and underlying platform changes.
One of the bigger issues pops up if you run ExtensionPackageTest:
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.datacleaner.extensions.ClassLoaderUtils (file:/C:/Users/kasper/git/DataCleaner/engine/core/target/classes/)
WARNING: Please consider reporting this to the maintainers of org.datacleaner.extensions.ClassLoaderUtils
WARNING: System::setSecurityManager will be removed in a future release