attempt to work around the deprecation javac warnings uin imports.