DataCleaner icon indicating copy to clipboard operation
DataCleaner copied to clipboard

Make DataCleaner build and run on the latest JDK(s)

Open kaspersorensen opened this issue 3 years ago • 1 comments

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.

kaspersorensen avatar Jan 03 '22 11:01 kaspersorensen

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

kaspersorensen avatar Jan 04 '22 07:01 kaspersorensen